# darknet-tensorrt **Repository Path**: ryze_cao/darknet-tensorrt ## Basic Information - **Project Name**: darknet-tensorrt - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-01-05 - **Last Updated**: 2021-10-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tk darknet this is a fork of alexey darknet tk version of yolos are in *mycfg/* folder ### Compile Compile with make without modify anything in the makefile, it will use only CPU ``` make ``` ### Train ``` wget https://pjreddie.com/media/files/darknet53.conv.74 # pretrained weights ./darknet detector train data cfg darknet53.conv.74 -map ``` dont use pretrained weights with 1 channel input (for instance with yolo3_flir) ### Test ``` ./darknet detector demo data cfg weights test_video.mp4 -thresh 0.3 ``` ### Export weights to tkDNN ``` ./darknet export cfg weights out/path/ ``` warning: - out/path should already be present and empty - debug is exported to "debug/" folder - if you need debug export of every layer ouput you MUST compile in CPU mode