You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repository and tried to test the sample in my local environment.
However, I get the following error and it does not work.
Failed to load Whisper model!
NullReferenceException: Object reference not set to an instance of an object
Init Whisper model first!
What I want to do
I want to run the sample in my local environment.
Could you tell me how to set it up initially?
What I tried and what I did
Cloned the project and opened it in the editor.
opened the "1 - Audio Clip" scene and ran it in the editor.
Error occurred.
Checked "Enable CUDA" in ProjectSettings.
Checked "Init On Awake" in Whisper object Inspector.
Inserted the file "ggml-small.bin" in the SteamingAssets/Whisper folder and changed "ModelPath" to "Whisper/ggml-small.bin" in the Inspector of the Whisper object.
This error indicates that underlying library whisper.cpp failed to load model weights. Hard to say for sure why. Could you send your PC specs? Maybe you have old CPU that doesn't support AVX?
Also, do you have any non-English letters in path to your model/unity project?
The CPU of my PC is an "AMD Ryzen 5 3500 6-Core".
But that was not the problem, it was the fact that the file path contained a language other than English.
I solved the problem successfully and the sample worked without any problems!
It was very helpful. Thank you very much!
Overview
I cloned the repository and tried to test the sample in my local environment.
However, I get the following error and it does not work.
What I want to do
I want to run the sample in my local environment.
Could you tell me how to set it up initially?
What I tried and what I did
Error
Environment
The text was updated successfully, but these errors were encountered: