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

[Bug] HydraConfig is not set while resolving config with --cfg job --resolve #1681

Closed
omry opened this issue Jun 18, 2021 · 0 comments · Fixed by #1696
Closed

[Bug] HydraConfig is not set while resolving config with --cfg job --resolve #1681

omry opened this issue Jun 18, 2021 · 0 comments · Fixed by #1696
Assignees
Labels
bug Something isn't working
Milestone

Comments

@omry
Copy link
Collaborator

omry commented Jun 18, 2021

$ python my_app.py  '+a=${hydra:runtime.cwd}/data/MNIST' --cfg job --resolve
...
omegaconf.errors.InterpolationResolutionError: ValueError raised while resolving interpolation: HydraConfig was not set
@omry omry added the bug Something isn't working label Jun 18, 2021
@omry omry added this to the Hydra 1.1.1 milestone Jun 18, 2021
@Jasha10 Jasha10 self-assigned this Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants