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
In line 89 of the file /utils/datasets.py, there is a statement: label_path = img_path.split(".")[0] + ".txt" which may cause some errors, such as using the format of './xxx/xxx. txt '.
To avoid such errors, label_path = os.path.splitext(img_path)[0] + ".txt" might be better?
The text was updated successfully, but these errors were encountered:
In line 89 of the file
/utils/datasets.py
, there is a statement:label_path = img_path.split(".")[0] + ".txt"
which may cause some errors, such as using the format of './xxx/xxx. txt '.To avoid such errors,
label_path = os.path.splitext(img_path)[0] + ".txt"
might be better?The text was updated successfully, but these errors were encountered: