Skip to content

Commit

Permalink
update examples (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiXaiLL76 committed Jun 20, 2024
1 parent 5b080c4 commit 02c5665
Show file tree
Hide file tree
Showing 5 changed files with 85,767 additions and 58 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ faster_coco_eval.egg-info
__pycache__
examples/comparison/mmdet/COCO
examples/comparison/mmdet/model
csrc/mask/pycocotools/_mask.c
csrc/mask/pycocotools/_mask.c
tests/synth_test_dataset
examples/ultralytics
examples/comparison/ultralytics/runs/*
examples/comparison/ultralytics/*.pt
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ https://pypi.org/project/faster-coco-eval/)
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.

## Install

### Basic implementation identical to pycocotools

```bash
pip install faster-coco-eval
```

### Additional visualization options

> Only 1 additional package needed opencv-python-headless
```bash
pip install faster-coco-eval[extra]
```


## Faster-COCO-Eval base

This package wraps a facebook C++ implementation of COCO-eval operations found in the
Expand All @@ -27,9 +44,9 @@ for coco's AP metrics, especially when dealing with a high number of instances i
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](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/comparison/mmdet/colab_example.ipynb)
[colab_example.ipynb in google collab](https://colab.research.google.com/drive/1qj392oIU8fmeyIFHCtxCrLA8PQQAMoIs)
Tested with rtmdet model bbox + segm
Visualization of testing **colab_example.ipynb** available in directory [examples/comparison](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/comparison)
- [mmdet example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/comparison/mmdet/colab_example.ipynb)
- [ultralytics example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/comparison/ultralytics/colab_example.ipynb)

### Summary for 5000 imgs

Expand Down
Loading

0 comments on commit 02c5665

Please sign in to comment.