We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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'
The text was updated successfully, but these errors were encountered:
Hi you change load to safeload config = edict(yaml.safeload(open(config_file, 'r')))
Sorry, something went wrong.
Hello thanks for replying.
Yes, I could find a patch. I just wanted to point out that the source code should be updated with a correction.
Best, Gianmarco
For future references: use config = edict(yaml.safe_load(open(config_file, 'r'))) :)
config = edict(yaml.safe_load(open(config_file, 'r')))
No branches or pull requests
Running on Google Colab:
git clone https://github.com/lrjconan/GRAN.git cd GRAN pip install -r requirements.txt
so far so good. Then:
I got
The text was updated successfully, but these errors were encountered: