-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
训练正常,测试推理时检测不到任何东西 #252
Comments
I0417 01:14:06.763319 10804 solver.cpp:443] Iteration 4000, Testing net (#0) @eric612 博主,你好,自查了一下问题。以上是训练log,迭代4000次结果正常,eval能给出相应的detection_eval,推理时目标框结果正常。迭代到4500次忽然detection_eval显示不了,代表测试图片一张也检测不出来,然而validation loss还在下降,推理时也出不来结果,推理至conv39数据全部为nan,conv38正常,感觉很奇怪,好像哪里出现了bug |
I0413 18:42:17.436262 23758 solver.cpp:253] Iteration 20510 (0.360757 iter/s, 27.7195s/10 iters), loss = 6.13863
I0413 18:42:17.436317 23758 solver.cpp:272] Train net output #0: det_loss1 = 0.341735 (* 1 = 0.341735 loss)
I0413 18:42:17.436328 23758 solver.cpp:272] Train net output #1: det_loss2 = 3.03929 (* 1 = 3.03929 loss)
I0413 18:42:17.436337 23758 sgd_solver.cpp:121] Iteration 20510, lr = 0.0005
I0413 18:42:20.734402 23758 yolov3_layer.cpp:532] noobj: 0.00250922 obj: 0.476783 iou: 0.761839 cat: 0.941965 recall: 0.991667 recall75: 0.596111 count: 5
I0413 18:42:20.778740 23758 yolov3_layer.cpp:532] noobj: 0.0030255 obj: 0.461223 iou: 0.589617 cat: 0.919322 recall: 0.692824 recall75: 0.351311 count: 25
I0413 18:42:26.167347 23758 yolov3_layer.cpp:532] noobj: 0.00195143 obj: 0.640569 iou: 0.791826 cat: 0.992684 recall: 0.989796 recall75: 0.766667 count: 3
I0413 18:42:26.212055 23758 yolov3_layer.cpp:532] noobj: 0.00242032 obj: 0.427725 iou: 0.554173 cat: 0.901831 recall: 0.621256 recall75: 0.318708 count: 23
I0413 18:42:30.826737 23758 yolov3_layer.cpp:532] noobj: 0.00174544 obj: 0.444056 iou: 0.783672 cat: 0.972636 recall: 0.980769 recall75: 0.724359 count: 2
I0413 18:42:30.862072 23758 yolov3_layer.cpp:532] noobj: 0.0034129 obj: 0.412179 iou: 0.529127 cat: 0.856678 recall: 0.615313 recall75: 0.24171 count: 22
I0413 18:42:35.728987 23758 yolov3_layer.cpp:532] noobj: 0.00224608 obj: 0.483906 iou: 0.788536 cat: 0.905526 recall: 0.986667 recall75: 0.771111 count: 2
I0413 18:42:35.751526 23758 yolov3_layer.cpp:532] noobj: 0.00365666 obj: 0.49535 iou: 0.535215 cat: 0.864543 recall: 0.610597 recall75: 0.327094 count: 25
I0413 18:42:41.524915 23758 yolov3_layer.cpp:532] noobj: 0.00218737 obj: 0.43209 iou: 0.792419 cat: 0.970947 recall: 0.979167 recall75: 0.674405 count: 4
@eric612 博主,您好,训练时loss正常(如上),推理时使用detect.py检测不到任何物体,有尝试将test.prototxt的data改为deploy的data层,去除eval层拿来检测,以及将去除过的test.prototxt去bn,也是检测不到任何物体。类别相应参数也是正确的,例如75改为21(20类改为2类),预处理部分应该也没错。博主看下问题出在哪?
The text was updated successfully, but these errors were encountered: