While dumping large matrix (170000*20000) as follows
cPickle.dump(train_set,gzip.open('train.pickle.gz','wb'), cPickle.HIGHEST_PROTOCOL)
I get following error:
SystemError: error return without exception set
How would I deal in this case?
While dumping large matrix (170000*20000) as follows
cPickle.dump(train_set,gzip.open('train.pickle.gz','wb'), cPickle.HIGHEST_PROTOCOL)
I get following error:
SystemError: error return without exception set
How would I deal in this case?
cPickle
can't be used for storing very large objects ( see http://bugs.python.org/issue11564 ).
You have several options:
hdf5
which enables interopability with other software/languages.© 2022 - 2024 — McMap. All rights reserved.