Chenyme / Chenyme-AAVT

这是一个全自动(音频)视频翻译项目。利用Whisper识别声音,AI大模型翻译字幕,最后合并字幕视频,生成翻译后的视频。
MIT License
736 stars 73 forks source link

第一次使用生成视频报错,VPN已开启,该如何解决 #11

Closed sanlilin closed 3 months ago

sanlilin commented 3 months ago

LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.

Chenyme commented 3 months ago

你好!VPN不稳定,可能会导致faster-whisper模型下载失败,该模型需从hugging face下载。 想问下,这段代码是从何时报错的?

sanlilin commented 3 months ago

您好,感谢答复。刚才收到你消息我又去试了下,还是同样结果。

Chenyme commented 3 months ago

很抱歉☹️这是由于网络不稳定导致模型下载失败,除非尝试更稳定的网络。 这可能是因为large模型太大了,加上国内访问hugging face不是很稳定和VPN不稳定的原因,导致模型下载失败。后续可能会考虑模型本地加载来规避国内模型下载失败的问题。

Todo

m4o9 commented 3 months ago

希望能够尽快加入本地模型加载 感谢

Chenyme commented 3 months ago

你好!项目最新版本V0.6.2已支持本地模型加载、个人微调模型功能,感谢你的反馈!

Todo

aoout commented 2 months ago

我已经加载了本地模型,可是运行还是出现这个同样的错误 @Chenyme

Chenyme commented 2 months ago

你好!能否提供一下具体的本地模型目录和该模型的文件截图? @aoout 你可以重新开一个议题,该议题已关闭,不能及时收到回复。

aoout commented 2 months ago

我后续又测试了一下,发现即使是打开了加载本地模型的设置,程序还是试图从huggingface加载模型。这大概就是问题所在。

Chenyme commented 2 months ago

我后续又测试了一下,发现即使是打开了加载本地模型的设置,程序还是试图从huggingface加载模型。这大概就是问题所在。

谢谢你的再次反馈!@aoout 我已检查源码并定位到问题出处,预计下个版本会修复此问题,非常感谢!