fcjian / InstaGen

InstaGen: Enhancing Object Detection by Training on Synthetic Dataset, CVPR2024
https://fcjian.github.io/InstaGen
MIT License
68 stars 2 forks source link

'mmdetection/data/coco/annotations/instances_val2017.json' not found in annotation location #7

Closed sunny1401 closed 2 months ago

sunny1401 commented 2 months ago

Hi again - I am trying to fine-tune sdm, with novel categories. However, the annotation location only had train_instances, but in the .sh you add --check_val_every_n_epoch 1. Could you please tell what am I missing?

fcjian commented 2 months ago

@sunny1401 You should download the COCO dataset, and place it in the directory "mmdetection/data/coco"

sunny1401 commented 2 months ago

Yes - I did add the image data from coco to the location - do you mean the annotations from validation are directly coming from coco? Asking cause you have added a train annotations file?

fcjian commented 2 months ago

@sunny1401 Yes, the annotation file of validation set is directly coming from the COCO dataset. We specifically included the train annotation file because it is a new file that exclusively consists of annotations for the base categories.

sunny1401 commented 2 months ago

Ah makes sense - thank you