This reposity is codebase for ACM Multimedia 2022 paper "Exploring Effective Knowledge Transfer for Few-shot Object Detection" .
Code is based on MMFewshot. For installing MMFewshot, please refer to this page
MMFewshot installed: https://github.com/open-mmlab/mmfewshot
my requirements ( just for your checking, theoretically mmfewshot installed is enough. )
python == 3.7.11
torch == 1.7.0
torchvision == 0.8.0
cuda == 10.1
mmfewshot == 0.1.0
For PASCAL VOC data, please refer to GoogleDrive. Put the archieve under data/
and decompress it.
MMFewshot using few-shot split file prepared in advance. Download GoogleDrive and also put decompressed folder under data/
.
setting | mAP | model |
---|---|---|
1shot | 5.7 | model |
2shot | 7.1 | model |
3shot | 8.6 | model |
10shot | 12.5 | - |
30shot | 17.1 | model |
./eval_configs/coco/kshot/
CUDA_VISIBLE_DEVICES=0 python ./tools/detection/test.py \
./eval_configs/coco/kshot/config.py \
./eval_configs/coco/kshot/best.pth --eval bbox