Code Monkey home page Code Monkey logo

oc-cost's Introduction

Optimal Correction Cost for Object Detection Evaluation

This repository is the official implementation of Optimal Correction Cost for Object Detection Evaluation.

Links

Requirements

To install requirements:

poetry install
mim install mmcv-full
mim install mmdet

This code is tested on mmcv-full==1.3.10 and mmdet==2.15.0.

Quick demo

You can try OC-cost on a notebook notebooks/interactive_oc_demo.ipynb.

Data

If you want to test OC-cost on COCO, download coco2017 in data folder

data
├── annotations
└── val2017

Evaluation

To evaluate detectors on COCO, run:

python src/tools/run_evaluation.py evaluate outputs/run_evaluation/ N_GPUs -s --use-tuned-hparam alpha=0.5,beta=0.6

The scirpt will download detectors from MMDetection and compute mAP and OC-cost on COCO validation 2017.

Results

OC-cost and mAP of the detectors on MMDetection on COCO validation 2017 are as follows :

OC-cost and mAP on COCO validation 2017

Model name mAP ↑ OC-cost ↓
Faseter-RCNN [config] 0.38 0.45
RetinaNet [config] 0.32 0.28
DETR [config] 0.40 0.57
YOLOF [config] 0.32 0.30
VFNet [config] 0.37 0.26

NMS parameters are tuned on OC-cost.

Citation

If this work helps your research, please cite:

@InProceedings{Otani_2022_CVPR,
    author    = {Otani, Mayu and Togashi, Riku and Nakashima, Yuta and Rahtu, Esa and Heikkil\"a, Janne and Satoh, Shin'ichi},
    title     = {Optimal Correction Cost for Object Detection Evaluation},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2022},
    pages     = {21107-21115}
}

oc-cost's People

Contributors

mayu-ot avatar

Stargazers

 avatar Hideaki Omote avatar Michael Kösel avatar  avatar  avatar  avatar App Service avatar KotaYuhara avatar Toru Mitsutake avatar Subaru Kimura avatar Shengjian Wu avatar shim avatar  avatar TakeSeijin avatar  avatar Yuiga Wada avatar Shun Takagiwa (giwa / shun_tak) avatar Seitaro Shinagawa avatar Yuki Takeyama avatar 爱可可-爱生活 avatar Swall0w avatar  avatar Tatsuya Ishihara avatar Heitor Rapela Medeiros avatar KazuhitoTakahashi avatar Katsuya Hyodo avatar Kha Gia Quach avatar

Watchers

 avatar Tatsuya Ishihara avatar

oc-cost's Issues

Question in fig.10 of paper

Hello, thanks for giving another evaluation measure of object detection.
I have one question in fig.10 (different NMS parameters).
In fig.10, we see that NMS tuned with mAP causes many predictions with high overlapping and low confidence score.
But shouldn't these predictions be deleted either by NMS (high overlapping) or by score threshold?
If the predictions in fig.10 have not processed NMS yet, then the predictions of both tuning ways should be same, right?

Looking forward to your reply, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.