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

无法下载模型 #38

Open
Panaxnotoginseng opened this issue Nov 7, 2024 · 5 comments
Open

无法下载模型 #38

Panaxnotoginseng opened this issue Nov 7, 2024 · 5 comments

Comments

@Panaxnotoginseng
Copy link

下载模型时出现如下报错:
Traceback (most recent call last):
File "wordless\wl_nlp\wl_nlp_utils.py", line 330, in run
File "stanza\resources\common.py", line 606, in download
File "stanza\resources\common.py", line 535, in download_models
File "stanza\resources\common.py", line 154, in request_file
File "stanza\resources\common.py", line 107, in assert_file_exists
ValueError: md5 for D:\Program Files (x86)\wordless_3.5.0_windows\Wordless\libs\stanza_resources\es\tokenize\ancora.pt is 808f27248700ae3e52014e7ba3f9c3aa, expected c053221c33efc6435e60959206942830

我没有使用任何代理,但我ip在西班牙。
1730975612725

@BLKSerene
Copy link
Owner

BLKSerene commented Nov 7, 2024

resources.json
你好 请下载这个文件后复制到 Wordless/libs/stanza/resources下后覆盖掉同名的文件(仅适用于 3.5.0)
Stanza的模型资源文件目前版本不会自动更新 这个bug别人已经反馈过了 下个版本也会修复

@Panaxnotoginseng
Copy link
Author

谢谢!

@Mosw5871
Copy link

Mosw5871 commented Dec 1, 2024

resources.json 你好 请下载这个文件后复制到 Wordless/libs/stanza/resources下后覆盖掉同名的文件(仅适用于 3.5.0) Stanza的模型资源文件目前版本不会自动更新 这个bug别人已经反馈过了 下个版本也会修复

你好,请问字啊 Mac 中我找不到Wordless/libs/stanza/resources路径,能请问一下这个应该怎么打开吗?谢谢

@BLKSerene
Copy link
Owner

BLKSerene commented Dec 1, 2024

@Mosw5871 mac 系统可以参考 README - Download 下面 Note 3 里的路径或 README - Need Help? 里的 b 站视频教程:https://www.bilibili.com/video/BV1DF4m1N7hz/?spm_id_from=333.999.0.0

右键 Wordless.app 选择 Show Package Contents 然后定位到 Contents/Frameworks/stanza_resources 目录下 也是覆盖掉同名的文件

@Mosw5871
Copy link

Mosw5871 commented Dec 1, 2024 via email

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

3 participants