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
Space character as the only delimiter when parsing yolo-format label files; this should be generalized to any whitespace character.
Proposed Solution (Optional)
The issue is on line 231 of super_gradients/training/datasets/detection_datasets/yolo_format_detection.py
which should be changed from only allows spaces as delimiters:
label_id, cx, cw, w, h = line.split(" ")
to allowing any kind of whitespace:
label_id, cx, cw, w, h = line.split()
The current version of YoloV5 also allows any kind of white space delimiters in label files,
so making this fix improves compatibility with label files that are correctly parsed by YoloV5.
The text was updated successfully, but these errors were encountered:
🚀 Feature Request
Space character as the only delimiter when parsing yolo-format label files; this should be generalized to any whitespace character.
Proposed Solution (Optional)
The issue is on line 231 of
super_gradients/training/datasets/detection_datasets/yolo_format_detection.py
which should be changed from only allows spaces as delimiters:
to allowing any kind of whitespace:
The current version of YoloV5 also allows any kind of white space delimiters in label files,
so making this fix improves compatibility with label files that are correctly parsed by YoloV5.
The text was updated successfully, but these errors were encountered: