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

When I run test, error: load() missing 1 required positional argument:'Loader' #13

Open
yuheyuan opened this issue Aug 13, 2022 · 0 comments

Comments

@yuheyuan
Copy link

Hello, I meet some problem when I run the test.py and train.py

(yy_DADA) ailab@ailab:/media/ailab/data/yy/DADA/dada/scripts$ python test.py --cfg ./configs_s2c/dada_pretrained.yml
Called with args:
Namespace(cfg='./configs_s2c/dada_pretrained.yml', exp_suffix=None)
Traceback (most recent call last):
  File "test.py", line 103, in <module>
    main(args.cfg, args.exp_suffix)
  File "test.py", line 29, in main
    cfg_from_file(config_file)
  File "/media/ailab/data/yy/DADA/dada/domain_adaptation/config.py", line 111, in cfg_from_file
    yaml_cfg = EasyDict(yaml_load(filename))
  File "/media/ailab/data/yy/ADVENT/advent/utils/serialization.py", line 37, in yaml_load
    return yaml.load(f)
TypeError: load() missing 1 required positional argument: 'Loader'
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