代码拉取完成,页面将自动刷新
yolov4.conv.137
yolov4.weights
yolov4-tiny.conv.29
Download from Baiduyun, password: trdv
These files are stored in SJUT_CIUS baiduyun
target
, please keep the sameJPEGImages
folderAnnotations
folder./data/train.data
, ./data/train.names
is set properly./data/yolov4-tiny.cfg
has changed classes
and filters
in 212, 220, 263, 269 linesclass name
is right,such as target
and then run
python gen_files.py
./labels
./labels
has the right txt file, open one to check.darknet
executable file from darknet
projects, Note: we must use https://github.com/AlexeyAB/darknet.git master branch, Not https://github.com/pjreddie/darknet.git. Because AlexeyAB
has the right version to train yolov4 or yolov4-tiny. But pjreddie
only can train yolov3 or yolov3-tiny.
7.1 configure the makefile
to only enable GPU=1
7.2 make clean && make
7.3 generate the darknet
executable filetrdv
.
├── Annotations
├── backup
├── darknet
├── data
│ ├── train.data
│ ├── train.names
│ ├── yolov4.cfg
│ └── yolov4-tiny.cfg
├── gen_files.py
├── Images
├── JPEGImages
├── labels
├── README.md
├── test.txt
├── train
├── train.txt
├── yolov4.conv.137
├── yolov4-tiny.conv.29
└── yolov4.weights
./darknet detector train data/train.data data/yolov4-tiny.cfg yolov4-tiny.conv.29
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。