CVHub520 / X-AnyLabeling

Effortless data labeling with AI support from Segment Anything and other awesome models.
GNU General Public License v3.0
4.26k stars 484 forks source link

我在导出yolo标签时候显示类别不在其中 #699

Closed magic-chai closed 4 weeks ago

magic-chai commented 4 weeks ago

Search before asking

Question

2024-10-31 21:14:18,837 | ERROR | label_widget:export_yolo_annotation:4953 - Error occurred while exporting annotations: 'qilou' is not in list,实际上qilou就在我的classes.txt文件里面,这是为什么?

Additional

No response

CVHub520 commented 4 weeks ago

I apologize, but it seems the error is not due to the classes.txt file. The error message label_widget_export_yolo_annotation:4953 - Error occurred while exporting annotations: 'qilou' is not in list indicates that the qilou label is not present in the list of labels that the tool is expecting.

To resolve this, you will need to check the list of labels in the classes.txt file and ensure that all the required labels are correctly listed there. If the qilou label is indeed required, you will need to add it to the classes.txt file. Once you have updated the file with the proper labels, the tool should be able to export the annotations without that error.

Please let me know if you have any other questions!

magic-chai commented 4 weeks ago

感谢,我知道问题所在了,class.txt文件里面我多打了空格