Closed shuaixinxin closed 1 year ago
problem: AssertionError: The num_classes (4) in CoDeformDETRHead of MMDataParallel does not matches the length of CLASSES 80) in CocoDataset
num_classes
CLASSES
作者您好,我自己的数据集只有4个类别应该如何修改呢?我想修改训练时的图像尺寸的大小,应该如何修改代码呢?望指导,万分感谢!
@shuaixinxin , Hi, you can refer to this tutorial for custom dataset training. The image resolution can be modified in the config.
problem: AssertionError: The
num_classes
(4) in CoDeformDETRHead of MMDataParallel does not matches the length ofCLASSES
80) in CocoDataset