Open MrCuiHao opened 4 years ago
Can I directly train it with pre-trained convolutional weights in multi-GPU? the training command is as follows:
Yes.
And ,another question, I have 119508 traing dataset and 26766 val dataset, so ,should I changed the learning_rate value to learning_rate = 0.001 / GPUs, and so on .......
This is just a recommendation. So you can keep default LR.
@AlexeyAB How do we use our own weights? I'm using the following but the cmd line output only shows all of the layers then immediately saves the final file without even training. Here is the cmd I input: darknet.exe detector train x64/data/obj.data x64/yolov3-openimages.cfg x64/yolov3-openimages.weights.
I don't want to use darknet53.conv.74 since it's trained on imagenet instead of COCO.
@AlexeyAB disregard, I just figured it out. I shouldn't forget about first principles based troubleshooting XD. So I noticed when I run yolov3-openimages.weights vs. darknet53.conv.74
the yolov3-openimages.weights already had 500,000 batches trained (500kilo-batches) whereas the darknet53.conv.74 had 0 kilo batches. I know that darknet53.conv.74 weights are pretrained on imagenet, but I believe there is something you manipulated to make it start at 0 kilobatches (my assumption is so users can readily use it and proceed to shake & bake). Is there a way I can manipulate my weights file to show 0 as well? Not a big deal but would be interesting to know. In any case, if I just alter my cfg file to allow a max of 506,000 batches (my desired is 6000), it allows me to train.
Your exe is awesome, just difficult to follow reasoning for the instructions at times. Thanks!
@AlexeyAB,Hello
I watched your edited README.md file ,you said:
Can I directly train it with pre-trained convolutional weights in multi-GPU? the training command is as follows: .\darknet.exe detector train coco.data csresnet50-panet-spp.cfg Pretrained-Convolutional-Weights\csresnet50-panet-spp.conv.112 -gpus 0,1,2,3 -map
And ,another question, I have 119508 traing dataset and 26766 val dataset, so ,should I changed the learning_rate value to learning_rate = 0.001 / GPUs, and so on ........