GAIA-vision / GAIA-det

A Transfer Learning System in Object Detection
Apache License 2.0
184 stars 14 forks source link

KeyError metric.direct.coco_bbox_mAP in finetune_local stage #10

Open better629 opened 1 year ago

better629 commented 1 year ago

I use the latest version repo, and occur below error in sh scripts/finetune_local.sh

the cmd is

sh scripts/finetune_local.sh 2 configs/local_examples/fast_finetune/faster_rcnn_ar50to101_ft2e.py ./outputs ./pretrained_ckpt/ar50to101_supernet.pth ./pretrained_ckpt/ar50to101_flops.json
Traceback (most recent call last):
  File "/data/GAIA-det/scripts/../tools/finetune_supernet.py", line 388, in <module>
    main()
  File "/data/GAIA-det/scripts/../tools/finetune_supernet.py", line 268, in main
    sub_model_space = model_space.ms_manager.apply_rule(rule)
KeyError: 'metric.direct.coco_bbox_mAP'

There seems that there is not metric key in the ar50to101_flops.json.