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

FileNotFoundError: [Errno 2] No such file or directory: '${cfg_file}' #1207

Open
tesonhub opened this issue Mar 26, 2024 · 0 comments
Open

Comments

@tesonhub
Copy link

I had this error while trying to run the code using a usb camera and cpu only. Is there a way to resolve this issue?

(alphapose) C:\Users\Teson\AlphaPose>python scripts/demo_inference.py --cfg ${cfg_file} --checkpoint ${trained_model} --outdir examples/res --vis --webcam 0
Traceback (most recent call last):
File "scripts/demo_inference.py", line 88, in
cfg = update_config(args.cfg)
File "c:\users\teson\alphapose\alphapose\utils\config.py", line 6, in update_config
with open(config_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: '${cfg_file}'

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

1 participant