Closed andrew-begain closed 5 years ago
Hello, thank you for your interest in our work! This issue seems to apply to the following question:
train_batch0.jpg
and test_batch0.jpg
for a sanity check of training and testing images.@andrew-begain Look at the tutorial glenn wrote in this repo, it is a good start!
I made my own script to set-up this repo from images and xml annotation produced from the labelimg tool that creates all the files needed to do custom training in this repo. Here are the big steps:
python3 train.py --cfg cfg/yolov3-7c.cfg --data cfg/data.data --batch-size 8 --img-size 608 --epoch 300
. For batch size, you'll need to do some trial and error, see what fits on your GPU VRAM@glenn-jocher @glenn-jocher thank you very much for your reply,i will read your repo carefully,and i hope i do not have annother qustion,
hi glenn,Ownmarc I am sorry to ask annother qustion, I want to retrain the model, how to initialize the parameters except the yolo layer,thanks
@andrew-begain all parameters are initialized to random values to start, which may be replaced with a full pretrained model or a pretrained backbone. Read the wikis: https://github.com/ultralytics/yolov3/wiki/Example:-Transfer-Learning https://docs.ultralytics.com/yolov5/tutorials/train_custom_data
hi glenn-jocher thanks for your great job i want to fine-tune with my own dataset,But this data set does not belong to the coco data set category, it is a separate category,what should i do? thanks