Open ggenny opened 4 years ago
Everythink is ok.
hi, thank you for your time.
How many iterations I need? I expected to reach ~55mAP at 160000 (2000 * 80 classes)
From your cfg-file, you need to train 500 000 iterations, to reach 55 mAP@0.5 by using yolov3.cfg width=416 height=416 May be it will be earlier.
max_batches = 500200
I don't understand but it doesn't seem to converge. It seems strange.
@ggenny Since you use 2 x GPUs, then try to set learning_rate=0.0005
and continue training https://github.com/AlexeyAB/darknet#how-to-train-with-multi-gpu
@ggenny Also try to download the latest version of Darknet.
@WongKinYiu There was a bug in data augmantation for Detector training, which forced blur, from 26 Oct to 4 Dec: https://github.com/AlexeyAB/darknet/blame/5d0352f961f4dc3db8ccad0570481c69305c0143/src/data.c#L884
@AlexeyAB Oh... maybe I have to retrain many models...
@WongKinYiu Sorry. Bug was only for Detector, not for Classifier.
@AlexeyAB Fine, I have to talk to my partners.
And the good news is... I have to stop training the detectors, so I can check the anti-aliasing and mosaic first.
@AlexeyAB learning_rate=0.0005 does not seem to improve.
I get the latest version and start from scratch? or I resume from the current point (learning_rate = 0.0005)?
I get the latest version and start from scratch? or I resume from the current point (learning_rate = 0.0005)?
Just resume from the current point. May be set
max_batches = 700200
steps=600000,650000
Little progress ( 51% )
You will get another progress at steps=600000,650000
iterations up to ~54.5% mAP@0.5
Then YOLOv3-416 - 55.3% mAP@0.5
is achieved on test-dev rather than validation-dataset: you should validate it on test-dev images: http://images.cocodataset.org/zips/test2017.zip by using command ./darknet detector valid coco.data my.cfg my.weights
and upload json-result to the evaluation server: http://cocodataset.org/#upload
I have almost reached 600000 but the mAP is decreasing, set learning rate to 0.001 ?
I have almost reached 600000 but the mAP is decreasing, set learning rate to 0.001 ?
No, just steps=500000,650000
if you dont want wait for 600 000
I would like to improve the identification in yolov3.weights by adding new images to some of the categories.
Before starting that i am trying to replicate the original result:
My configuration is ( coco get with script/get_coco... ):
yolov3.cfg:
... standard yolo with random=1
coco.data:
execution first 1000: ./darknet detector train cfg/coco.data cfg/yolov3.cfg weights/darknet53.conv.74 execution from 1000 with: ./darknet detector train cfg/coco.data cfg/yolov3.cfg backup/yolov3_1000.weights -gpus 0,1
after 40k iteration i see that:
I think I'm doing something wrong