Closed Li-Lai closed 6 years ago
Q1: the following code, because log will make the gradient to Inf
Q2: use this at project https://github.com/karta0807913/LabelingTools Change mainwindow.cpp model, prototxt, mean to voc_model
Thank you very much for your reply and thank you for your sharing!
Q1: Some tips occured to me when using 'make all -j8', are you annotated with the above code or the following code??? src/caffe/layers/yolo_v2_loss_layer.cpp:113:1: warning: "/" within comment [-Wcomment] / **/
yolo_v2_loss_layer.cpp:113 `// diff[index + 2 SHIFT] = scale (pred_box.w - truth_box.w) pred_box.w; diff[index + 3 SHIFT] = scale (pred_box.h - truth_box.h) pred_box.h; / / diff[index + 2 SHIFT] = scale (log(pred_box.w / biases[2 * n + 0])