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

omegaconf.errors.ConfigAttributeError: Missing key #4

Closed
yzyouzhang opened this issue Jan 27, 2022 · 3 comments
Closed

omegaconf.errors.ConfigAttributeError: Missing key #4

yzyouzhang opened this issue Jan 27, 2022 · 3 comments
Assignees

Comments

@yzyouzhang
Copy link

I encounter the following error when I run main.py with the Baseline2 configuration.

omegaconf.errors.ConfigAttributeError: Missing key

There are in total three keys missing.
min_req_mem gradient_clip reload_every_n_epoch

I fixed these missing keys one by one by setting them to 0 or None.
I am curious what are the default values for these. Thank you very much.

@Jungjee Jungjee self-assigned this Jan 27, 2022
@Jungjee
Copy link
Collaborator

Jungjee commented Jan 27, 2022

Hello, yzyouzhang.
Would you mind sharing your omegaconf and pytorchlighning versions?
In omegaconf==2.0.6, keys not specified have default value of None.

For reference, default value is None for both gradient_clip and reload_every_n_epoch.

@yzyouzhang
Copy link
Author

Hi Jungjee,
Thanks for your quick reply.
I used omegaconf==2.1.1. It works well when I change back to 2.0.6.

sasv-challenge pushed a commit that referenced this issue Jan 28, 2022
@Jungjee
Copy link
Collaborator

Jungjee commented Jan 28, 2022

Thanks. Closing this now.

@Jungjee Jungjee closed this as completed Jan 28, 2022
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