cgvict / roLabelImg

Label Rotated Rect On Images for training
836 stars 223 forks source link

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

Open huyi666r opened 8 months ago

huyi666r commented 8 months ago

issue1

karantai commented 4 months 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