DeepFusionMOT
DeepFusionMOT copied to clipboard
FileNotFoundError
Hello, when I execute python main.py, I get the following error, what should I do to fix it?
Traceback (most recent call last):
File "main.py", line 147, in
Hello
I guess you are running the code in Ubuntu, but it seems the author ran the code in windows. Thus the folder path has some difference in ubuntu and windows
You can go to line 17 of file_operation/file.py Change "position = detections_root + "\" + detections_file" to "position = detections_root + "/" + detections_file"
Actually there are many of works need to be done for completely changing the paths from MS-DOS (Windows) to Unix. You can refer to this helpful docs and resolve them on the go, re-run each time. https://www.pythoncheatsheet.org/cheatsheet/file-directory-path#creating-new-folders Hope this help.