zbf1991 / WeCLIP

CVPR2024
42 stars 5 forks source link

coco数据集将图片格式修改为jpg后报错 #12

Open xuwudang opened 3 weeks ago

xuwudang commented 3 weeks ago

作者你好,在代码中我改好了路径,将coco相关代码图片格式修改为jpg后报这个错 File "D:\PytorchDemo\WeCLIP.\clip\clip_tool.py", line 238, in perform_single_coco_cam label_list.append(new_class_names_coco[int(lid)])

zbf1991 commented 2 weeks ago

The annotation should be 'xx.PNG'.