1 Star 0 Fork 0

myboyhood / yolov4

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

CIUS yolov4 training code

config step

See boyhoodme CSDN Blog

Large files downloads

  • yolov4.conv.137
  • yolov4.weights
  • yolov4-tiny.conv.29 Download from Baiduyun, password: trdv These files are stored in SJUT_CIUS baiduyun

Running step

  1. all default class is target, please keep the same
  2. check your images in JPEGImages folder
  3. check your xmls in Annotations folder
  4. check ./data/train.data, ./data/train.names is set properly
  5. check ./data/yolov4-tiny.cfg has changed classes and filters in 212, 220, 263, 269 lines
  6. check the gen_files.py at line 10, the class name is right,such as target and then run
    python gen_files.py
    this python will clean the unlabelled images according to xml and generate txt files into ./labels
  7. check the ./labels has the right txt file, open one to check.
  8. copy the compiled 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 file
  9. downloads large weight files from Baiduyun, password: trdv
  10. see your tree is like
.
├── 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
  1. run ./darknet detector train data/train.data data/yolov4-tiny.cfg yolov4-tiny.conv.29

空文件

简介

实验室训练yolov4的代码 展开 收起
Python
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/myboyhood/yolov4.git
git@gitee.com:myboyhood/yolov4.git
myboyhood
yolov4
yolov4
master

搜索帮助