Using `convert-h5-to-ggml.py` I get this error : o such file or directory: 'whisper.cpp/whisper/assets/mel_filters.npz'
#3
by
Raphy10-Collab
- opened
I want to convert this pythorch model : https://huggingface.co./whispy/whisper_italian into ggml model
But when using convert-h5-to-ggml.py
I get this error :
(.venv) riccardo@riccardo-HP-Laptop-15-da0xxx:~/Downloads$ python3 ./whisper.cpp/models/convert-h5-to-ggml.py ./whisper_italian/ ./whisper.cpp/ .
Traceback (most recent call last):
File "/home/riccardo/Downloads/./whisper.cpp/models/convert-h5-to-ggml.py", line 96, in <module>
with np.load(os.path.join(dir_whisper, "whisper/assets", "mel_filters.npz")) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/riccardo/Downloads/whisper.cpp/models/.venv/lib/python3.12/site-packages/numpy/lib/_npyio_impl.py", line 451, in load
fid = stack.enter_context(open(os.fspath(file), "rb"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'whisper.cpp/whisper/assets/mel_filters.npz'
How to make it work?