slowfast_feature_extractor icon indicating copy to clipboard operation
slowfast_feature_extractor copied to clipboard

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

Open Dev-ori opened this issue 3 years ago • 1 comments

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

Dev-ori avatar Jan 16 '23 04:01 Dev-ori

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

polinli avatar May 16 '23 17:05 polinli