LSI Model无法加载模型

时间:2019-05-08 16:36:30

标签: scikit-learn gensim latent-semantic-indexing

我存储了一个LSI模型,并且该模型正在存储为model.pkl和model.pkl.projection。

但是,当我尝试加载模型时,加载失败,因为它试图使用.npy查找投影文件

loading LsiModel object from /var/app/data/lsi_model.pkl.projection
loading u from /var/app/data/lsi_model.pkl.projection.u.npy with mmap=r
failed to load projection from /var/app/data/lsi_model.pkl.projection: 
[Errno 2] No such file or directory: 
'/var/app/data/lsi_model.pkl.projection.u.npy'

知道为什么会这样吗?

0 个答案:

没有答案