Skip to content

Commit

Permalink
Merge pull request #15 from MiXaiLL76/dev
Browse files Browse the repository at this point in the history
update 1.4.1
  • Loading branch information
MiXaiLL76 authored Jan 24, 2024
2 parents 9144179 + 71f4b5f commit 1548364
Show file tree
Hide file tree
Showing 14 changed files with 316 additions and 15,965 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ faster_coco_eval.egg-info
*.pyc
__pycache__
examples/comparison/COCO
examples/comparison/model
examples/comparison/model
csrc/mask/pycocotools/_mask.c
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Testing was carried out using the mmdetection framework and the eval_metric.py s
Visualization of testing **comparison.ipynb** available in directory [examples/comparison](./examples/comparison/comparison.ipynb)
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 |
| Type | COCOeval | COCOeval_faster | Profit |
| ---- | ----------- | --------------- | ----------- |
| bbox | 18.477 sec. | 7.345 sec. | 2.5x faster |
| segm | 29.819 sec. | 15.840 sec. | 2x faster |

## Usage

Expand Down Expand Up @@ -58,6 +58,17 @@ cur.plot_pre_rec()

## history

### v1.4.1

- [x] append Plotly fig return
- [x] append preview GT only func. Without eval.

```py
cocoGt = COCO(...)
preview = PreviewResults(cocoGt, iouType='segm')
preview.display_tp_fp_fn(data_folder=..., image_ids=..., display_gt=True)
```

### v1.4.0

- [x] fix issue <https://github.com/MiXaiLL76/faster_coco_eval/issues/12>
Expand Down
2 changes: 1 addition & 1 deletion clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for _dir in ${_dirs[@]}; do

python_files=$(find ${_dir} -name "*.py")
for _file in ${python_files[@]}; do
autopep8 --in-place ${_file}
black ${_file}
done
done

Expand Down
Loading

0 comments on commit 1548364

Please sign in to comment.