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

加载模型出现问题 #32

Open
ScottishFold007 opened this issue May 13, 2020 · 4 comments
Open

加载模型出现问题 #32

ScottishFold007 opened this issue May 13, 2020 · 4 comments

Comments

@ScottishFold007
Copy link

ValueError: could not broadcast input array from shape (128) into shape (96)
如下图所示的报错:
image

@howl-anderson
Copy link
Owner

SpaCy 版本是?

@hxl523
Copy link

hxl523 commented May 13, 2020

SpaCy ==2.2.4,出现上面问题

@howl-anderson
Copy link
Owner

建议考虑重装虚拟环境并安装 SpaCy 至最新版,这个问题比较常见且难以解决。

@ScottishFold007
Copy link
Author

谢谢楼主,解决了~2.2.4的版本,可能是升级后没重启导致的。

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