Closed ytf-philp closed 1 year ago
I am so sorry for the late response. Hope this information is still helpful.
It is because the pre-trained model tried to load the data config which was used at the pre-training stage.
Actually, you can find the config yaml files in SpeechUT/dataset/MuSTC/en_xx
, then replace them with the missing files.
I am sorry for your trouble, it is a bug. I will fix it as soon as possible.
Please let me know when you run it successfully, thanks!
Hi @ytf-philp , I think I have fixed the bug.
config.yaml
(no needed anymore for fine-tuning/inference, but still needed for pre-training) to dataset/MuSTC/en_{de,es,fr}/
, just for a look.inference_st.sh
will still ask for the pre-trained model which may cause a FileNotFoundError, to prevent it, use --model-overrides "{'model':{'w2v_path':'/path/to/your/pretrained/model.pt'}}"
in inference_st.sh
. Click here to see the usage.Hope the above information helps, and thank you for your feedback.
Thank you, this bug has been fixed. @zz12375
I want to use the released version of pretrained SpeechUT model to fine tune and also want to use the released fine-tuned model on MUST-C ende model to inference, however when i reload the checkpoints, there are some extra non-local path which caused "FileNotFoundError", how can i solve this problem?