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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydra.errors.ConfigCompositionException: Could not override 'task.data'. #74

Open
kevin-dll opened this issue Mar 17, 2022 · 1 comment

Comments

@kevin-dll
Copy link

馃憠 Please follow one of these issue templates 馃憟

Note: to keep the backlog clean and actionable, issues may be immediately closed if they do not follow one of the above issue templates.
wenn I run the stage7 in run_torchaudio.sh.There is always a problem:
hydra.errors.ConfigCompositionException: Could not override 'task.data'. Maybe the problem is in the python file hydra_train.python
Could not override 'task.data'.
To append to your config use +task.data=/espresso/examples/asr_librispeech/data
Key 'data' is not in struct
full_key: task.data
reference_type=Any
object_type=dict
How can I solve it.

@freewym
Copy link
Owner

freewym commented Mar 17, 2022

I just tested and didn't see the errors. Did you check if hydra-core>=1.0.7,<1.1 omegaconf<2.1 in your Python environment, and you are using the latest Espresso (older ones may have issues).

A qiuick fix is to follow what the prompt says: add "+" before "task.data", or directly enter the path string in the corresonding yaml config file you are going to use.

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