#29 RuntimeError: err[msg]=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.

Posted at: 2 days ago | IP: 2403:27c0:x:x
Traceback (most recent call last): File "videotrans\task\_only_one.py", line 43, in run File "videotrans\task\trans_create.py", line 371, in recogn File "videotrans\recognition\__init__.py", line 236, in run File "videotrans\recognition\_base.py", line 75, in run File "videotrans\recognition\_overall.py", line 155, in _exec RuntimeError: err[msg]=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. ===== Windows-10-10.0.19045-SP0 version:v3.78 frozen:True

2 Replies

测试无此问题。可以试试下载 medium/large-v2模型,可能是网络问题,中途下载失败,删掉 models 下的那个模型文件夹,重新下载试试
查看该说明 https://pyvideotrans.com/blog/cannot-find-an-appropriate-cached-snapshot
Similar issues already exist
Post Your Reply