Skip to main content

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 comparison.ipynb available in directory examples/comparison Tested with yolo3 model (bbox eval) and yoloact model (segm eval)

Type COCOeval COCOeval_faster Profit
bbox 18.477 sec. 7.345 sec. 2.5x faster
segm 29.819 sec. 15.840 sec. 2x faster

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

Update history

Available via link history.md

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faster-coco-eval-1.4.3.tar.gz (40.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

faster_coco_eval-1.4.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (609.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

faster_coco_eval-1.4.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (626.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

faster_coco_eval-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (592.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

faster_coco_eval-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (597.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

faster_coco_eval-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (603.6 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

faster_coco_eval-1.4.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (569.4 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

faster_coco_eval-1.4.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (560.5 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file faster-coco-eval-1.4.3.tar.gz.

File metadata

  • Download URL: faster-coco-eval-1.4.3.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for faster-coco-eval-1.4.3.tar.gz
Algorithm Hash digest
SHA256 f961059badc60aeab7f05bc58a4070c3038abcdf79da953a6c90dc2d55441e74
MD5 164c82ab0e6f1a753e2dc7a3ed9332c7
BLAKE2b-256 aa467b404ee246edb4680a2482a97d14f4bee03b3f5bcfbe555fe5e4f966df05

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8acbb1d83e83e92980ce7808892c12da4db8716dcf44a25619a85069e22cab2a
MD5 5b026836cc73df1a573ff75c6f3790e5
BLAKE2b-256 8ae02eeaf75ef5dbe225e8e70dd41c1f79994990c6e0bac8289b62b70b824f54

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d90df47f6916e4a4fa44ddc4373f35763815d4e48d4200fef665bc4213084d2
MD5 0bdca2b85611e875f76aa583da4534a9
BLAKE2b-256 e054071c2622049dcaa19cb624a8e365e9b68e6eea7bae5353ee931c82446eef

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1692a0dc5bffc2ee0e31adcc52ed3d6dbde734269d5b1fcd9b3d338d8e5d9e05
MD5 ff6ca9e7a0b70dd14a141e5cf2ac8b14
BLAKE2b-256 70b500940b4b6b125d74cd611f37df35a8e80d4b141bf051ec95a4ae28306d81

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f5e207c42814e95e84d3abc5a2a65b1910ca1ccbd999ee114b3292e98e91c365
MD5 455779f1b5b86cce8136e473bcf30ed1
BLAKE2b-256 4a937fad44fe55ec7013f0410e26c9d1ebd6b1846d0922170e56139546005030

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dbc4d21cfa86cf0702d49567588bd2cb1e1e03e4fd2d01a611fe9efbefcd9438
MD5 6dad952261ae4c23562218804c98b38a
BLAKE2b-256 30a5e080d7ff26650c3df7dac3a52533bf7adc09a50d61b6fd3e85eb2a4e2ded

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 715640c89f0bd077adebe8b290a4b29744733e1c981efec196dff78d81ad12f9
MD5 163525d2597be560a9146398b91edb6c
BLAKE2b-256 13036353873412f60d1ccbcc2de412fd5f156b3d9ec6b9a45d02d616a090ce16

See more details on using hashes here.

File details

Details for the file faster_coco_eval-1.4.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for faster_coco_eval-1.4.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 994b6c179a7f27bb46d81cbad5283a6ebb246696218fe6b372ebe6bea381406f
MD5 5491dfeafbc74086288c0e8e0ba0e4e3
BLAKE2b-256 9e9aba6092b4da863ecff67dd3a86f20325b82078ecdaf18bb3f6c2073d9e5c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page