Comments (7)
Hi @janedoesrepo,
In this repository, there is no verification to disconsider the difficult objects in the VOC.
But such objects can be easily identified and not accounted.
Here the XML files (VOC and Imagenet use the same format) are parsed. You could put an if
here to verify if the tag <difficult>1</difficult>
is there. If so, just use a continue
, so this object is not added in the list ret
and, therefore, discarded.
I hope it helps. Let me know if that worked for you.
from review_object_detection_metrics.
Hey @rafaelpadilla,
thank you that was a quick fix. However, the mAP I get with your toolkit is 52.89%., while both the official VOC devkit and this code give me 55.04% mAP.
This is just fyi. My problem with your code was fixed!
from review_object_detection_metrics.
Hi,
This is strange. You should get the same results.
Did you consider the "difificult" objects in both VOC and our tool?
If possible, could you share your ground-truth and detection annotations, (XML files) so I can investigaste the reason of this difference?
from review_object_detection_metrics.
I made further tests and the results are exactly the same as the official matlab version.
The only difference is that the MATLAB code and the referred tool ignores objects tagged as "difficult", while our tool makes no distinction of such tag. :)
from review_object_detection_metrics.
Hi @rafaelpadilla.
sorry didn’t get notified. I can share the files and results later with you today.
Maybe it’s a mistake on my side.
Maybe the exclusion of difficult files as I implemented in your version wasn’t exactly the same as devkit handles it. However, the official challenge does/did not consider these files so imo there is kind of something missing in your tool.
Edit: I excluded difficult objects in my experiments.
Regards
from review_object_detection_metrics.
Thanks for the response. As our tests run different types of detections and files to assert the results are identical with the official tools, when there is a report such as this, I like to investigate where the problem is.
So, please, send me your ground-truth and detections files, so I can see what's wrong. :)
Thank you very much for your comments.
from review_object_detection_metrics.
Please find attached the detection files. 55.04% mAP on the VOC2007 test data from https://pjreddie.com/projects/pascal-voc-dataset-mirror/ with VOCDevkit 2012 and all-point AP.
annotations_voc2007_test.zip
detection_files_padilla.zip
detection_files_vocdevkit.zip
Update: all coordinates are absolute values, left-top right-bottom.
from review_object_detection_metrics.
Related Issues (20)
- Equation (9) and (11) in publication HOT 3
- how to use commond line ? HOT 1
- Do you have the detection results of different detection models in coco json format. HOT 1
- could't open detected the annotation file made by yolov4 darknet HOT 2
- How to calculate the general Precision x recall curve of the detection model? HOT 1
- Coordinates format has repeated option HOT 4
- Can you share commands on how to run the coco and PascalVOC evaluators via terminal to generate the outputs? HOT 3
- No results HOT 4
- Feature request: Docker containerization HOT 3
- move(self, int, int): argument 1 has unexpected type 'float' HOT 5
- ModuleNotFoundError: No module named 'src' HOT 4
- Bug in the converter.py while looking for images folder ? HOT 1
- AttributeError: 'list' object has no attribute 'items' HOT 1
- Please provide command line to evaluate on terminal HOT 1
- Issue during start: TypeError: arguments did not match any overloaded call HOT 3
- np.bool is deprecated HOT 5
- numpy: set_window_title moved to manager HOT 3
- Building the conda environment causes an endless loop HOT 2
- Result is 0 HOT 3
- Getting precision, recall, F1 values HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from review_object_detection_metrics.