SmartSub icon indicating copy to clipboard operation
SmartSub copied to clipboard

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

Open zhulicheng0725 opened this issue 2 years ago • 3 comments

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 avatar Aug 07 '24 09:08 zhulicheng0725

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

zhulicheng0725 avatar Aug 07 '24 09:08 zhulicheng0725

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

buxuku avatar Aug 22 '24 02:08 buxuku

这是 v1.0.14 时期的问题,软件已历经大版本重构(现为 3.0:多引擎 + sherpa-onnx 原生运行库,不再需要旧的本地编译流程),该问题已不再适用。建议升级到 3.0 最新版本;如仍有问题欢迎附日志重新打开。感谢反馈。

buxuku avatar Jun 23 '26 07:06 buxuku