Faster interpretation of the original COCOEval
Project description
Faster-COCO-Eval
Disclaimer
I often use this project, but I saw it abandoned and without a public repository on github. Also, part of the project remained unfinished for a long time. I implemented some of the author's ideas and decided to make the results publicly available.
Faster-COCO-Eval base
This package wraps a facebook C++ implementation of COCO-eval operations found in the pycocotools package. This implementation greatly speeds up the evaluation time for coco's AP metrics, especially when dealing with a high number of instances in an image.
Comparison
For our use case with a test dataset of 5000 images from the coco val dataset. Testing was carried out using the mmdetection framework and the eval_metric.py script. The indicators are presented below.
Visualization of testing colab_example.ipynb available in directory examples/comparison colab_example.ipynb in google collab Tested with rtmdet model bbox + segm
Summary for 5000 imgs
Type | faster-coco-eval | pycocotools | Profit |
---|---|---|---|
bbox | 5.812 | 22.72 | 3.909 |
segm | 7.413 | 24.434 | 3.296 |
Feautures
This library provides not only validation functions, but also error visualization functions. Including visualization of errors in the image.
You can study in more detail in the examples and Wiki.
Usage
Code examples for using the library are available on the Wiki
Examples
Update history
Available via link history.md
Star History
License
The original module was licensed with apache 2, I will continue with the same license. Distributed under the apache version 2.0 license, see license for more information.
Citation
If you use this benchmark in your research, please cite this project.
@article{faster-coco-eval,
title = {{Faster-COCO-Eval}: Faster interpretation of the original COCOEval},
author = {MiXaiLL76},
year = {2024}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for faster_coco_eval-1.5.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a29dd16c8826dc75e227bdabfc53e8fdf780e61a46b517580ed1c1cce46a1e4 |
|
MD5 | 3f4dc235d7660f276ef35dc83891782b |
|
BLAKE2b-256 | a67a01c806fe540b046fee86036a43dc78efadee17f3de4afadcc2b1dbf08573 |
Hashes for faster_coco_eval-1.5.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1954262273e942d3008989a176ac61be46d9e90015a09384583169b932c4c868 |
|
MD5 | 3cb0e245af5673128b22b40725f4a70a |
|
BLAKE2b-256 | 56f216956e52b06b1ff907afa5cea9d7fbbee7fd34a75f45b625fee08d3da389 |
Hashes for faster_coco_eval-1.5.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32ff9e670eeb21295509a90d264e081ec11d9b996108447b5757de05b1941a19 |
|
MD5 | 601790549e0fa18e0a48118a1a9f9709 |
|
BLAKE2b-256 | 5409a7777931780ab37c9433f8d162f649af80619460d61f1db74dc389ac57f3 |
Hashes for faster_coco_eval-1.5.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e8b2401f05565c816a4183e87d227fc6bb3c2bfb29402f68aeb3193ac7516e5 |
|
MD5 | f2c53dd951d320a0dc76df74f25c49e5 |
|
BLAKE2b-256 | 9c2a9f284ea5c6b2dd2750f08888ca4d34e3e11129371725e09d2333c51da6d1 |
Hashes for faster_coco_eval-1.5.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb11bc8e81f49316aadbeec812e2b7c4d18b2d1961c17a285c6c369d08a47f27 |
|
MD5 | aed22ae473dc972944b4705ce3539a2c |
|
BLAKE2b-256 | 1b4328fe219af3bf51ac9899fcfc5beacb5d5a40b094e8cad6e22deb3c330654 |
Hashes for faster_coco_eval-1.5.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b46ca7c0cde8b6ee13b371a6025fb01e14e5fc6b9d45bc663abf0af0bd0eae8f |
|
MD5 | 8caf0c196f558dff9a2991b6772f67f0 |
|
BLAKE2b-256 | 758afaaa051acf1d034a0aff225aa76d6ba99e51a7df1f0fe2795c2894619473 |
Hashes for faster_coco_eval-1.5.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c920d64589bdcd7911137c5b194ab4795ff9aec8408aa446c4dc873966575ed6 |
|
MD5 | 68a8c7c8441b510b64adb7fdc69455aa |
|
BLAKE2b-256 | 73cb7ee3de4ae026096e5129e25641aa6c81a2f14460266fa04eaf0224d85ea3 |