After fine tuning openai whisper model, there shows OSError WinError 123

Hello,

I followed the Fine-tuning the ASR model course to fine tune the Wisper-Small model on one of the Common Voice languages.
But to the end, it shows:
OSError: [WinError 123] 檔案名稱、目錄名稱或磁碟區標籤語法錯誤。: ‘whisper_out-finetuned\runs\??07_15-39-11_DESKTOP-0M91N6S’

i only set the output-dir to “whisper_out-finetuned” but i didn’t set the “??” to my folder name. I have no ideas what’s happening, Have anyone run into similar issue before?

1 Like

I don’t know where “??07_15-39-11_DESKTOP-0M91N6S” came from, but file and folder names that start with a “?” cannot be used in Windows. I think the Python script generated this name on its own…
This kind of path-related error often occurs when using Python on Windows.
If you try a different dataset and the error doesn’t occur, you’ll know it’s from the dataset that caused the problem…