YOLOv6 icon indicating copy to clipboard operation
YOLOv6 copied to clipboard

AssertionError: Results do not correspond to current coco set

Open moxigk opened this issue 2 years ago • 4 comments

之前的错误是: TypeError: '<' not supported between instances of 'str' and 'int'

我根据你的方法改了, image_id = int(path.stem) if path.stem.isnumeric() else path.stem image_id=path.stem 出现了这个问题 AssertionError: Results do not correspond to current coco set

是不是数据集的名字必须是数字吗?不能包含英文吗或者其他字符吗?

moxigk avatar Jun 28 '22 03:06 moxigk

+1

jia0511 avatar Jun 28 '22 05:06 jia0511

+1

x-yy0 avatar Jun 28 '22 06:06 x-yy0

+1

WhXl avatar Jul 19 '22 01:07 WhXl

Please pull the latest code, if training on custom dataset, set this flag to False. https://github.com/meituan/YOLOv6/blob/fb9485fdb3c5e290c51b8c7dc8b05e2bc78a8da3/data/coco.yaml#L9

mtjhl avatar Aug 19 '22 02:08 mtjhl