hydra.errors.ConfigCompositionException: Could not override 'task.data'.
- Dominant language
- Python
- Stars
- 939
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
## 👉 [Please follow one of these issue templates](https://github.com/pytorch/fairseq/issues/new/choose) 👈
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.
Contributor guide
Research direction
Start by reproducing stage7 from run_torchaudio.sh and inspect hydra_train.python alongside the reported Hydra configuration error. Trace how task.data is defined and overridden, then confirm that the documented or corrected invocation completes without the ConfigCompositionException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch, shell
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100