HIT-SCIR / pyltp

pyltp: the python extension for LTP
1.53k stars 353 forks source link

linux安装了pyltp成功,加载训练好的SRL模型失败 #222

Closed ShanWangBUPT closed 4 years ago

ShanWangBUPT commented 4 years ago

>>> labeller.load(srl_path) [dynet] random seed: 729815937 [dynet] allocating memory: 2000MB [dynet] memory allocation done. Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: basic_filebuf::underflow error reading the file: iostream error

报错信息如上,pyltp是3.4版本的,模型也是下载的3.4.0版本下的模型。