AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

config yolov3-spp file for training for both small and large objects #2209

Closed zhongjiejiang closed 5 years ago

zhongjiejiang commented 5 years ago

Hi AlexeyAB,

I download the yolov3-spp.cfg from below link, and I have some question to trouble you.

1, I found that the batch=1 and subdivisons=1, is it special mean? Can I set the batch=63 and subdivsion=8? 2, can I recalculate anchors for dataset? the smallest anchors of yolov3-spp is 10,13 and the smallest anchors of recalculate anchors is 22,39 3, how can it get he pre-train weight like as yolov3-tiny.conv.15 using command: darknet.exe partial?

Thanks for you reply Jason

for training for both small and large objects use modified models:

AlexeyAB commented 5 years ago

@zhongjiejiang Hi

  1. You can use any batch and subdivisions as you want. It will affect only on training.

  2. Yes, you can recalculate anchors, do it as usual.

  3. darknet.exe partial cfg/yolov3-spp.cfg yolov3-spp.weights yolov3-spp.conv.87 87