阅读背景:

以便携式数据格式保存/加载scipy稀疏csr_matrix

来源:互联网 

How do you save/load a scipy sparse csr_matrix in a portable format? The scipy sparse matrix is created on Python 3 (Windows 64-bit) to run on Python 2 (Linux 64-bit). Initially, I used pickle (with protocol=2 and fix_imports=True) but this didn't work going from Python 3.2.2 (Windows 64-bit) to Python 2.7.2 (Windows 32-bit) and got the error:




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: