cgvict / roLabelImg

Label Rotated Rect On Images for training
805 stars 221 forks source link

AttributeError: 'NoneType' object has no attribute 'text' #34

Open huyi666r opened 5 months ago

huyi666r commented 5 months ago

issue1

karantai commented 1 month ago

Something has happened with the format of the .xml files. Now, there is a new format when labelling, which is slightly different that the previous one (for instance, there is a type attribute in the new format), so the code breaks. In order to fix it change the lines depicted in the printscreen:

Screenshot from 2024-07-23 15-48-20