{"action":"opened","issue":{"url":"https://api.github.com/repos/pjreddie/darknet/issues/1132","repository_url":"https://api.github.com/repos/pjreddie/darknet","labels_url":"https://api.github.com/repos/pjreddie/darknet/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/pjreddie/darknet/issues/1132/comments","events_url":"https://api.github.com/repos/pjreddie/darknet/issues/1132/events","html_url":"https://github.com/pjreddie/darknet/issues/1132","id":362870548,"node_id":"MDU6SXNzdWUzNjI4NzA1NDg=","number":1132,"title":"Custom object training converges but no detections on training set!","user":{"login":"AimiHat","id":31356864,"node_id":"MDQ6VXNlcjMxMzU2ODY0","avatar_url":"https://avatars1.githubusercontent.com/u/31356864?v=4","gravatar_id":"","url":"https://api.github.com/users/AimiHat","html_url":"https://github.com/AimiHat","followers_url":"https://api.github.com/users/AimiHat/followers","following_url":"https://api.github.com/users/AimiHat/following{/other_user}","gists_url":"https://api.github.com/users/AimiHat/gists{/gist_id}","starred_url":"https://api.github.com/users/AimiHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AimiHat/subscriptions","organizations_url":"https://api.github.com/users/AimiHat/orgs","repos_url":"https://api.github.com/users/AimiHat/repos","events_url":"https://api.github.com/users/AimiHat/events{/privacy}","received_events_url":"https://api.github.com/users/AimiHat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-22T16:27:05Z","updated_at":"2018-09-22T16:27:05Z","closed_at":null,"author_association":"NONE","body":"I've been doing some training on custom objects with yolov3. \r\nGot success with a complicated object and am now trying to train for another object which is simpler and the results are very weird.\r\nI am suspecting that something is wrong in the way I train, or test?\r\n\r\nSome info:\r\n- 1 class with about 600 images\r\n- logs seem to show convergence on training set after a few thousand iterations (obj close to 1 and no obj close to 0)\r\n\r\nRegion 106 Avg IOU: 0.578357, Class: 0.000000, Obj: 0.449091, No Obj: 0.000147, .5R: 0.500000, .75R: 0.000000,  count: 2\r\nRegion 82 Avg IOU: -nan, Class: -nan, Obj: -nan, No Obj: 0.000003, .5R: -nan, .75R: -nan,  count: 0\r\nRegion 94 Avg IOU: 0.617976, Class: 0.000000, Obj: 0.928068, No Obj: 0.000224, .5R: 1.000000, .75R: 0.000000,  count: 1\r\nRegion 106 Avg IOU: 0.833563, Class: 0.000000, Obj: 0.999533, No Obj: 0.000107, .5R: 1.000000, .75R: 1.000000,  count: 1\r\nRegion 82 Avg IOU: -nan, Class: -nan, Obj: -nan, No Obj: 0.000002, .5R: -nan, .75R: -nan,  count: 0\r\nRegion 94 Avg IOU: -nan, Class: -nan, Obj: -nan, No Obj: 0.000001, .5R: -nan, .75R: -nan,  count: 0\r\nRegion 106 Avg IOU: 0.779995, Class: 0.000000, Obj: 0.985702, No Obj: 0.000172, .5R: 1.000000, .75R: 1.000000,  count: 2\r\n\r\nHowever when I run detection (even on training set!) I get no predictions whatsoever.\r\n\r\n./darknet detector test cfg/siren.data cfg/siren.cfg backup/siren.weights image.jpg\r\n\r\n\r\n  105 conv     18  1 x 1 / 1    76 x  76 x 256   ->    76 x  76 x  18  0.053 BFLOPs\r\n  106 yolo\r\nLoading weights from backup/siren.weights...Done!\r\nimage.jpg: Predicted in 0.080925 seconds.\r\n\r\nwith threshold of 0, I get many many 0% detections.\r\n\r\nIf someone could suggest a potential cause for this issue i would be extremely grateful!\r\nAlso what does 'count' correspond to? (my training images all have a single bounding box)\r\n\r\nThanks a lot!"}}
{"actor":{"display_login":"AimiHat"}}