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

AttributeError: 'Namespace' object has no attribute 'cfg_file' #21

Open
Dev-ori opened this issue Jan 16, 2023 · 1 comment
Open

AttributeError: 'Namespace' object has no attribute 'cfg_file' #21

Dev-ori opened this issue Jan 16, 2023 · 1 comment

Comments

@Dev-ori
Copy link

Dev-ori commented Jan 16, 2023

Hi I've got this error when i run on this command.

python run_net.py --cfg ./configs/SLOWFAST_8x8_R50.yaml

would you please check how to get over from this error?

Traceback (most recent call last):
File "run_net.py", line 25, in
main()
File "run_net.py", line 17, in main
cfg = load_config(args)
File "/home/ddf/PycharmProjects/sfex/slowfast/slowfast_feature_extractor/configs/custom_config.py", line 57, in load_config
if args.cfg_file is not None:
AttributeError: 'Namespace' object has no attribute 'cfg_file

@polinli
Copy link

polinli commented May 16, 2023

In /configs/custom_config.py", line 50,51.
Change args.cfg_file to args.cfg_files.

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