ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
32.93k stars 3.29k forks source link

error with strean #2244

Open whpWolf49er opened 2 weeks ago

whpWolf49er commented 2 weeks ago

howto resolve this problem ? wolf@kmul:~/whisper.cpp$ ./stream -m -/models/ggml-small.bin --language de --length 6000 -t 8 init: found 1 capture devices: init: - Capture device #0: 'Built-in Audio Analog Stereo' init: attempt to open default capture device ... init: obtained spec for input device (SDL Id = 2): init: - sample rate: 16000 init: - format: 33056 (required: 33056) init: - channels: 1 (required: 1) init: - samples per frame: 1024 whisper_init_from_file_with_params_no_state: loading model from '-/models/ggml-small.bin' whisper_init_from_file_with_params_no_state: failed to open '-/models/ggml-small.bin'

Speicherzugriffsfehler (Speicherabzug geschrieben) wolf@kmul:~/whisper.cpp$

supportend commented 2 weeks ago

A - is not ~. When the model is in the directory /home/wolf/whisper.cpp/models, you can access it with: -m ~/whisper.cpp/models/ggml-small.bin or -m models/ggml-small.bin or -m /home/wolf/whisper.cpp/models/ggml-small.bin when you are in the whisper.cpp directory.