fairseq
fairseq copied to clipboard
omegaconf.errors.ConfigKeyError: str interpolation key 'model.mask_min_space' not found
🐛 Bug
To Reproduce
Steps to reproduce the behavior (always include the command you ran):
1. Run cmd :
python fairseq-hydra-train task.data=/mnt/rajeev/speech/finetuning/750_hour model.w2v_path=/mnt/rajeev/speech/checkpoints/pretraining/hindi_pretrained_4kh.pt distributed_training.distributed_world_size=4 optimization.update_freq=[6] common.tensorboard_logdir=/mnt/rajeev/speech/logs/finetuning/750_hour/tensorboard_2021-07-07_15-48-19 checkpoint.save_dir=/mnt/rajeev/speech/checkpoints/finetuning/750_hour checkpoint.restore_file=/mnt/rajeev/speech/checkpoints/finetuning/750_hour/checkpoint_last.pt --config-dir /mnt/rajeev/speech/config/finetuning/ --config-name base_960h_seq2seq.yaml
2. See error
Traceback (most recent call last):
File "/mnt/rajeev/speech3.8/bin/fairseq-hydra-train", line 33, in
Configuration File used for finetuning:
common: fp16: true log_format: json log_interval: 1 wandb_project: 'finetuning-seq2seq'
checkpoint: no_epoch_checkpoints: true best_checkpoint_metric: wer
task: _name: audio_pretraining data: ??? normalize: false labels: ltr autoregressive: true
dataset: num_workers: 6 max_tokens: 3200000 skip_invalid_size_inputs_valid_test: true validate_interval: 1 valid_subset: valid #valid_subset: dev_other
distributed_training: ddp_backend: legacy_ddp distributed_world_size: 8
criterion: _name: cross_entropy
optimization: max_update: 320000 lr: [0.0001] sentence_avg: true
optimizer: _name: adam adam_betas: (0.9,0.98) adam_eps: 1e-08
lr_scheduler: _name: tri_stage phase_ratio: [0.1, 0.4, 0.5] final_lr_scale: 0.05
model: _name: wav2vec_seq2seq w2v_path: ??? apply_mask: true mask_prob: 0.5 mask_channel_prob: 0.1 mask_channel_length: 64 layerdrop: 0.1 activation_dropout: 0.1 feature_grad_mult: 0.0 freeze_finetune_updates: 0
Code sample
Expected behavior
Environment
- fairseq Version (e.g., 1.0 or master): 1.0.0a0+9589463
- PyTorch Version (e.g., 1.0) : 1.8.1+cu101
- OS (e.g., Linux): Linux
- How you installed fairseq (
pip, source): pip - Build command you used (if compiling from source): pip install --editable ./
- Python version: 3.8.10
- CUDA/cuDNN version: 10.1
- GPU models and configuration: Tesla T4 4 GPU
- Any other relevant information: No
Additional context
No
I met the same problem. Have you solved it ?