memory error python报错

np.array时报错内存溢出,检查了python安装的是64位版本,通过下面dtype=np.uint8不再报错
texts_vec = (np.array(texts_vec,dtype=np.uint8))
posted @ 2019-03-20 22:05  巴拉巴拉程序猿  Views(1061)  Comments(0Edit  收藏  举报