YOLOF icon indicating copy to clipboard operation
YOLOF copied to clipboard

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}

Open zkungithub opened this issue 3 years ago • 0 comments

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文件中的类别数也改过来了。(训练一类数据集)

zkungithub avatar Dec 15 '21 14:12 zkungithub