facebookresearch / seamless_communication

Foundational Models for State-of-the-Art Speech and Text Translation
Other
10.94k stars 1.06k forks source link

bug #402

Closed developeranalyser closed 7 months ago

developeranalyser commented 7 months ago

after dataset prepare when run finetne.py with parameters i get RuntimeError: context has already been set why ?? do you know ?

%run finetune.py \ --mode SPEECH_TO_TEXT \ --train_dataset /content/my_m4t_dataset/train_manifest.json \ --eval_dataset /content/my_m4t_dataset/validation_manifest.json \ --learning_rate 1e-6 \ --warmup_steps 100 \ --max_epochs 10 \ --patience 5 \ --model_name seamlessM4T_v2_large \ --save_model_to /content/my_3m4t_dataset/checkpoint.pt