chensnathan / YOLOF

You Only Look One-level Feature (YOLOF), CVPR2021, Detectron2
MIT License
271 stars 28 forks source link

AssertionError: Attribute 'thing_dataset_id_to_contiguous_id' in the metadata of 'coco_2017_train' cannot be set to a different value! {1: 0} != {0: 0} #34

Open zkungithub opened 2 years ago

zkungithub commented 2 years ago

AssertionError: Attribute 'thing_dataset_id_to_contiguous_id' in the metadata of 'coco_2017_train' cannot be set to a different value! {1: 0} != {0: 0} 修改detectron2/data/datasets中builtin_meta.py文件,但是训练报错,是不是类别不匹配,configs/default.py文件中的类别数也改过来了。(训练一类数据集)