Open hahazhky opened 6 years ago
you need -save_labels
Add flag -ext_output
nea with flag -dont_show
@AlexeyAB Thanks, another question, when you test yolo preformance, for example, to calculate mAP on PASCAL VOC, do you set threshold(confidence) to a certain value to control the outputs in the result file, like 0.2 or 0.25
@hahazhky It is not necessary to set -thresh for mAP. -thresh doesn't affect on mAP, it only affects on Precision/Recall/IoU/TP/FP/FN.
@AlexeyAB but Precision/Recall have affect on mAP, will -thresh affect on mAP through Precision/Recall?
@hahazhky No, Precision/Recall will be taken from 11 points on Precision/Recall-curve with Recall=[0.0;1.0]@0.5 for different 11 thresh's regardless of -thresh
param.
@AlexeyAB Thanks your patience a lot. And If I want to finetune for my own datasets from pretrained yolov3 weights, I want to fix some layers and train the others, what should I do, setting layer's parameter learning rate = 0(to set the learning rate scale), or there is something better to do?
@hahazhky
Add parameter stopbackward=1
for correspond layer: https://github.com/AlexeyAB/darknet#how-to-improve-object-detection
to speedup training (with decreasing detection accuracy) do Fine-Tuning instead of Transfer-Learning, set param
stopbackward=1
@AlexeyAB Thanks. And if I increase the width and height in the .cfg file and set random = 1, what's the meaning of increasing width and height, the image will be resize to {320, .. ,608}, and if I set random = 1, the anchors' size will be resized in the training phrase or not
@AlexeyAB I also tried to validate my trained model on a different test dataset, but I got an error as
I checked all file paths, but nothing I can find wrong.
@jaelim Use this repository.
@hahazhky Anchors will not be resized. Only neural network will be resized if you use random=1.
when I run
./darknet detector test cfg/voc.data cfg/yolov3-voc-test.cfg backup/yolov3-voc_12000.weights -dont_show < voc/2007_train.txt > result.txt
I get prediction confidence in result.txt rather than bounding box value, what should I do to get what I want Thanks a lot