Replies: 1 comment 1 reply
-
I am facing the same issue with YOLOv5 annotations. @DrMRizk have you been able to solve this issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @rafaelpadilla
Thank you for the tool.
I am using YOLO anotation format [class-id, x_center, y_center, w, h] relative values
example:
3 0.510547 0.647917 0.811719 0.362500
7 0.505859 0.327778 0.952344 0.352778
For the prediction I followed the first choice:
[class-id, confidence, x_center, y_center, w, h]
example:
3 99.6900 0.8953 0.1283 0.0415 0.0670
3 99.8200 0.5152 0.4906 0.6199 0.7697
The tool can access the ground truth and provide correct statistics.
However, for the detections, only few lables are accessed. Only the annotations of 11 images are counted. The statistics is not correct. Accordingly, the output metric result is not true.
The following message appears in the shell:
"Warning: Image not found in the directory None. It is required to get its dimensions"
I added the ground truths images to the folder annotations of the predictions, even though it is not recommended. The same error still occus and the same warning message appears in the shell.
Note that, annotations (text files) in the GT and predictions have the same names.
I attached the annotations of the predeictions
predicted_labels.zip
and the annotations of the GT
gt_lables.zip
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions