Bringing-Old-Photos-Back-to-Life
Bringing-Old-Photos-Back-to-Life copied to clipboard
: unrecognized arguments
the error is produced by the subprocess call in the run.py file. the call is made to run detection.py/test.py file with arguments from the script, which is specified like this;
so when you execute the script run.py from terminal with input/output paths, it is taken as a string. but when run.py executes another script from the code using subprocess; the path is not taken as a string in quotes; so the subprocess consider it as an external command rather than a string of path. i was facing the same issue so i changed the code a little bit as below; and it works fine.