You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
i got an error when trying to convert yolo2pascal format.
Error: Too many Values given expected five.
It occurs in yolo_io.py in parseYoloFormat. So i looked your code up and found out that my yolo dataset had an " " after the 5 Values. If anyone runs into that Problem to you can fix it by editing yolo_io.py -> parseYoloFormat to:
the .split method is basically splitting the Complete txt file into pieces. If you happen to have " " at the end it needs 6 Values to be asigned. Thats why it's throwing the Error above. Now it works like a Charm thank you for providing that library.
The text was updated successfully, but these errors were encountered:
Hey,
i got an error when trying to convert yolo2pascal format.
Error: Too many Values given expected five.
It occurs in yolo_io.py in parseYoloFormat. So i looked your code up and found out that my yolo dataset had an " " after the 5 Values. If anyone runs into that Problem to you can fix it by editing yolo_io.py -> parseYoloFormat to:
the .split method is basically splitting the Complete txt file into pieces. If you happen to have " " at the end it needs 6 Values to be asigned. Thats why it's throwing the Error above. Now it works like a Charm thank you for providing that library.
The text was updated successfully, but these errors were encountered: