8000
Skip to content

TypeError: load() missing 1 required positional argument: 'Loader' #23

@gianmarcoaversanoenx

Description

@gianmarcoaversanoenx

Running on Google Colab:

git clone https://github.com/lrjconan/GRAN.git
cd GRAN
pip install -r requirements.txt

so far so good. Then:

python run_exp.py -c config/gran_lobster.yaml

I got

Traceback (most recent call last):
  File "run_exp.py", line 48, in <module>
    main()
  File "run_exp.py", line 17, in main
    config = get_config(args.config_file, is_test=args.test)
  File "/content/GRAN/utils/arg_helper.py", line 39, in get_config
    config = edict(yaml.load(open(config_file, 'r')))
TypeError: load() missing 1 required positional argument: 'Loader'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0