Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.14 for Mac,在生成字幕阶段报错 #24

Open
zhulicheng0725 opened this issue Aug 7, 2024 · 2 comments
Open

v1.0.14 for Mac,在生成字幕阶段报错 #24

zhulicheng0725 opened this issue Aug 7, 2024 · 2 comments

Comments

@zhulicheng0725
Copy link

bug

报错信息:
Error: Command failed: "/Users/ZLC/Library/Application Support/video-subtitle-master/whisper.cpp/main" -m "/Users/ZLC/Library/Application Support/video-subtitle-master/whisper.cpp/models/ggml-large-v3.bin" -f "/Users/ZLC/Downloads/百度云同步盘/生日快乐(生日快乐之无限循环)(76集)/1.wav" -osrt -of "/Users/ZLC/Downloads/百度云同步盘/生日快乐(生日快乐之无限循环)(76集)/1.zh" -l zh whisper_init_from_file_with_params_no_state: loading model from '/Users/ZLC/Library/Application Support/video-subtitle-master/whisper.cpp/models/ggml-large-v3.bin' whisper_init_with_params_no_state: use gpu = 1 whisper_init_with_params_no_state: flash attn = 0 whisper_init_with_params_no_state: gpu_device = 0 whisper_init_with_params_no_state: dtw = 0 whisper_model_load: loading model whisper_model_load: invalid model data (bad magic) whisper_init_with_params_no_state: failed to load model error: failed to initialize whisper context

@zhulicheng0725
Copy link
Author

我只是为了提取字幕,所以设置为“不翻译”,但是在生成字幕这个阶段就报错了。使用M1芯片Mac。

@buxuku
Copy link
Owner

buxuku commented Aug 22, 2024

从报错信息上来看,模型加载失败了。你可以尝试删除模型,并重新下载模型试试呢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants