dongdv95 / yolov5

60 stars 65 forks source link

Cannot save txt file #4

Open moyedchow opened 2 years ago

moyedchow commented 2 years ago

When added --save-txt in the command the following error shows: File "D:\Tracker\Test1 - Copy (3)\Mod Codes\track.py", line 320, in detect(opt) File "D:\Tracker\Test1 - Copy (3)\Mod Codes\track.py", line 191, in detect with open(txt_path, 'a') as f: OSError: [Errno 22] Invalid argument: 'runs\track\exp18/D:\Training_Data\22.txt'

It seems like a directory related error i.e. it is trying to access the D: directory inside the expn folder. Could you please help?