facebookresearch / fairseq

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
MIT License
30.19k stars 6.38k forks source link

hubert finetune Could not override 'task.data'. #4335

Open liqiyao0430 opened 2 years ago

liqiyao0430 commented 2 years ago

❓ Questions and Help

Before asking:

  1. search the issues.
  2. search the docs.

What is your question?

image my code are as follows.And the path is right python fairseq_cli/hydra_train.py --config-dir C:\Users\lenovo\Desktop\github_hubert\path\to\fairseq-py\examples\hubert\config\finetune --config-name hubert_large_librispeech task.data=C:\Users\lenovo\Desktop\github_hubert\path\to\data task.label_dir=C:\Users\lenovo\Desktop\github_hubert\path\to\ltr model.w2v_path=C:\Users\lenovo\Desktop\github_hubert\path\to\the

Code

What have you tried?

What's your environment?

liqiyao0430 commented 2 years ago

when i add +, it will report this problem image

liqiyao0430 commented 2 years ago

--config-dir /path/to/fairseq-py/examples/hubert/config/finetune \ --config-name base_10h not be change,then solve the problem

shuvohishab commented 1 year ago

Update: It's Working now. Had an issue with relative path.

@liqiyao0430 hi there! I'm still getting the same issue, have you solved this? I used the following command:

fairseq-hydra-train distributed_training.distributed_port=2200 task.data=./wav2vec2_data model.w2v_path=pre-trained-checkpoints/checkpoint_best.pt --config-dir fairseq/examples/wav2vec/config/finetuning --config-name base_960h