Home

Awesome

TFOD Benchmark for Few-Shot Object Detection

TFOD is the first benchmark dataset for Task-Focused Few-Shot Object Detection. Why? We find that detection is not reliable outside of its initial training setting for many robot tasks. However, many researchers do not have a robot or even access to data to evaluate few-shot detection algorithms in a robotics setting. Notably, few-shot is exactly as it sounds, having to perform detection with very few annotated examples. Thus, we created the TFOD Benchmark in a challenging robot manipulation setting, which provides highly variable image characteristics for a consistent set of objects. This evaluation will help guide innovation toward increasingly reliable few-shot detection for robotics.

Contact: Brent Griffin (griffb at umich dot edu)

Benchmark Example. alt text

Using TFOD

Run ./demo/tfod_manual_data_demonstration.py to manually load TFOD data. <br /> [native Python]

Run ./demo/tfod_detectron2_data_demonstration.py to automatically load data to detectron2. <br /> [native Python, has detectron2 dependency]

Here are the commands we used to set up a virtual environment for detectron2 and TFOD:

python3 -m venv ~/tfod
source ~/tfod/bin/activate
pip install --upgrade pip
pip install torch torchvision IPython 
pip install git+https://github.com/facebookresearch/detectron2.git

Benchmark

The TFOD Benchmark uses MS-COCO AP metrics and k few-shot examples across 12 object classes.

MethodkAPAP50AP75APsAPmAPl
ClickBot114.119.917.20.032.922.8
ClickBot218.324.322.50.032.127.7
ClickBot435.046.042.01.757.439.0

Is your technique missing although the paper and code are public? Let us know and we'll add it. We average our baseline TFOD results across ten consecutive trials. Use this approach to report results if your method is nondeterministic.

Using ClickBot Baseline on TFOD Benchmark

Run ./demo/tfod_clickbot_baseline_demonstration.py to replicate our ClickBot baseline results. <br /> [native Python, has detectron2 dependency]

ClickBot Per-Object Benchmark Results. alt text

Publication

Please cite our paper if you find it useful for your research.

@inproceedings{Gr23,
  author = {Griffin, Brent},
  title = {Mobile Robot Manipulation using Pure Object Detection},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
  year = {2023}
}

TFOD Experiment Videos

IMAGE ALT TEXT HERE

https://youtu.be/77oVdhyY4vU

IMAGE ALT TEXT HERE

https://youtu.be/giiSYDwZM4c

IMAGE ALT TEXT HERE

https://youtu.be/OhQfMPuZQlg

Use

This code is available for non-commercial research purposes only.