-
Notifications
You must be signed in to change notification settings - Fork 8k
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
detector valid
generates all "image_id" is 0
#5615
Comments
detector valid
generates all "image_id" is 0
While I use the original darknet yolov3 valid these same images,it generate the right json like this
|
You can use For you custom dataset you should use You can't get AP_s, AP_l, ... for you custom dataset. You should implement your own code. |
Thanks for your reply,I will try to implement it. |
@lazerliu Did you manage to find the issue? |
I am facing the same problem,have you solved this issue? or could you implement this? |
Because the name format of "val2014" is "COCO_val2014_000000522418.jpg",but in : Line 463 in 9ff8653
It uses base_cfg(): Line 168 in 9ff8653
So the file name of val2014 can't be parsed to int in line465, then you can see all the image_ids are zeros.You can uncomment the get_coco_image_id(image_path) then it will work. If you are using a custom dataset, you can also change the code of get_coco_image_id to get the correct image_id. |
Dear Alexey,
First of all, thank you for your great work.
I've used
valid
to generatecoco_results.json
,but I got all theimage_id
is0
,my results like this:and my
test.txt
like thisIs there any problem?
Thank you very very much!
The text was updated successfully, but these errors were encountered: