Model File Exist Error When Running on Colab #1618
-
I have uploaded the V2-Large model to my Google Drive and am trying to call it from a Colab instance using: !whisper "/content/drive/MyDrive/Transcription/PD3.m4a" --model large --language English --model_dir "/content/drive/MyDrive/Whisper Model/large-v2.pt" --output_format txt --condition_on_previous_text False It results in the following output: Traceback (most recent call last): I must be doing something wrong, but can't see what it is. Can anyone help? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
remove |
Beta Was this translation helpful? Give feedback.
-
@mikenoname-github you have passed --model_dir "/content/drive/MyDrive/Whisper Model/large-v2.pt" |
Beta Was this translation helpful? Give feedback.
Agreed with @phineas-pta , it isn't really necessary to put the model on your Google Drive. You can just install it remotely each time.
That said - if for some reason you really do want to keep models on your Google Drive, there is an error in the command line.
--model_dir
requires a directory. So the way to do this would be--model_dir "/content/drive/MyDrive/Whisper Model/"
(without large-v2.pt at the end)