rafaelpadilla / review_object_detection_metrics

Object Detection Metrics. 14 object detection metrics: mean Average Precision (mAP), Average Recall (AR), Spatio-Temporal Tube Average Precision (STT-AP). This project supports different bounding box formats as in COCO, PASCAL, Imagenet, etc.
Other
1.08k stars 215 forks source link

A bug about the software #77

Closed Zengyf-CVer closed 3 years ago

Zengyf-CVer commented 3 years ago

@rafaelpadilla

Hello, I used your GUI software, my GT file test has no problem, but there is a problem with the test detection file:

ksnip_20211002-132210

This is my relevant settings:

ksnip_20211002-132246

Annotations of my detection:

ksnip_20211002-132309

The format of each of my detection files:

ksnip_20211002-132335

Zengyf-CVer commented 3 years ago

I have tried other formats and found that it is useful to choose the first one, as shown in the figure: ksnip_20211002-133941

However, my format is indeed (left, top, w, h), so I think this is a bug!

Zengyf-CVer commented 3 years ago

After opening the statistics interface, it was found that no detection frame was drawn, only GT was drawn. ksnip_20211002-134725

Zengyf-CVer commented 3 years ago

@rafaelpadilla Hello, I finally made it! I found a bug in your software: image

When using the yolo format, the format of the first option in the Detection section is incorrect.It should be (left, top, width, hight) and the most important point is to convert this format into yolo format, which is x0y0BwBh2yolo.

larrywal-express commented 3 years ago

@Zengyf-CVer Thanks. which file can we correct the problem

rafaelpadilla commented 3 years ago

@Zengyf-CVer

This is not a bug. Your format seems to be incorrect.

Take a look at the first bb of your gtsdb-00041.txt: 2 0.94385 1000.701 484.336 31.22 32.829

Your bounding box coordinates (1000.701 484.336 31.22 32.829) are not in the RELATIVE format and also are not in the ABSOLUTE format.

Relative formats must be values between 0 and 1. Absolute formats must be integers.

Please, change your file and let me know if it works.

Regards, Rafael

Zengyf-CVer commented 3 years ago

@rafaelpadilla I have solved this problem. I made two mistakes. One is that the absolute position is not rounded, and the other is that I don't understand the meaning of relative position. It has now been resolved, thank you.