D-FINE icon indicating copy to clipboard operation
D-FINE copied to clipboard

COCO category id has to start wiht 0 but should start with 1.

Open lz1004 opened this issue 1 year ago • 3 comments

When I train with my custom data, it only works when I start my category ids in the coco format with 0. However, the official coco format says that it should start with 1. The model trains well when I set it to 0. Do I miss something here?

lz1004 avatar Nov 27 '24 09:11 lz1004

Same here. Only trained after I make classes 0-indexed

prashant-dn avatar Jan 07 '25 06:01 prashant-dn

Does it work when you changed the coco category ids with 0? How's the weight you trained?

xuechaoyan avatar Apr 07 '25 08:04 xuechaoyan

Worked just fine.

lz1004 avatar Apr 07 '25 20:04 lz1004