Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

: unrecognized arguments #281

Open
tql12313 opened this issue Sep 23, 2023 · 1 comment
Open

: unrecognized arguments #281

tql12313 opened this issue Sep 23, 2023 · 1 comment

Comments

@tql12313
Copy link

95937305bfb794ba770e1a399cb1786 How to solve this problem!
@chintan-eonian
Copy link

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;

code_snip

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.

code_snip2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants