Chinese_models_for_SpaCy
Chinese_models_for_SpaCy copied to clipboard
ValueError: could not broadcast input array from shape (128) into shape (96)
when I run the code, ''' import spacy nlp = spacy.load('zh_core_web_sm') ''' There are some errors: ValueError: could not broadcast input array from shape (128) into shape (96)
考虑更新 SpaCy 至最新的版本(建议使用一个干净的虚拟环境)
可能是版本问题。谢谢。 spacy 2.2.4 ,zh_core_web_sm-0.1.0.tar.gz 可以。 spacy 2.2.4 zh_core_web_sm-2.0.5.tar.gz 不可以。