In the config file of YOLOv3 (https://github.com/pjreddie/darknet/blob/master/cfg/yolov3.cfg), the truth_threshold is set to 1. This parameter is used in a conditional statement in the new loss function to compare with best_iou, which is ALWAYS no greater than 1.
This condition will never be satisfied. Am I wrong? @pjreddie
Isn't it the reason why we are getting less counts and eventually when count becomes zero, we gat NaNs displayed on the terminal
truth_thresh doesn't have to be set to 1, you could change it to whatever you want! But i never got very good results with trying to use it. I left in thruth_thresh so i could keep playing around with it to see if I could get it to work better, it is something other people use with good results. but yeah, if you don't change the cfg that check will never be true.
Thanks, @pjreddie!
I have another question regarding warming up training. It's in region_layer.c, but no longer there in yolo_layer.c.
You also find this not helpful?
in iou_loss, label of positive anchor is 1, not overlaps like yolo2? thanks!
@pjreddie Hi! Can you help me please? i want to send my detection results through http, how i can do it?
Most helpful comment
truth_thresh doesn't have to be set to 1, you could change it to whatever you want! But i never got very good results with trying to use it. I left in thruth_thresh so i could keep playing around with it to see if I could get it to work better, it is something other people use with good results. but yeah, if you don't change the cfg that check will never be true.