You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}
#35
Open
zkungithub opened this issue
Dec 15, 2021
· 2 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文件中的类别数也改过来了。(训练一类数据集)
The text was updated successfully, but these errors were encountered:
------------------ Original ------------------
From: shenhaibb ***@***.***>
Date: 周日,4月 24,2022 8:46 上午
To: chensnathan/YOLOF ***@***.***>
Cc: zkungithub ***@***.***>, Author ***@***.***>
Subject: Re: [chensnathan/YOLOF] 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} (Issue #35)
你json文件里的类别id是从0开始还是从1开始的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
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文件中的类别数也改过来了。(训练一类数据集)
The text was updated successfully, but these errors were encountered: