Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Pickle error during model checkpoint when SP Region very large #1231

Open
rhyolight opened this issue Aug 21, 2014 · 1 comment
Open

Pickle error during model checkpoint when SP Region very large #1231

rhyolight opened this issue Aug 21, 2014 · 1 comment

Comments

@rhyolight
Copy link
Member

Ryan Belcher reported on the ML that:

I'm getting this error when trying to save a network:

       File
"/usr/local/lib/python2.7/dist-packages/nupic-0.1.0-py2.7.egg/nupic/bindings/engine_internal.py",
line 1015, in save
         return _engine_internal.Network_save(*args, **kwargs)
       SystemError: NULL result without error in PyObject_Call

Searching Google I found this:

http://stackoverflow.com/questions/3576430/python-numpy-error-null-result-without-error-in-pyobject-call

Basically the 32 bit version of Numpy can hold an array with over 2^32
items but it can't dump it. Further digging I found this:

numpy/numpy#2396

and this:

http://bugs.python.org/issue11564

So it stems from a bug in Python itself which is fixed in Python 3.

@rhyolight rhyolight added this to the Sprint 29 milestone Aug 22, 2014
@rhyolight rhyolight modified the milestones: Sprint 29, Sprint 30 Sep 5, 2014
@rhyolight rhyolight modified the milestones: Sprint 30, Bug Reports Sep 15, 2014
@scottpurdy
Copy link
Contributor

So from the links it looks like this stems from a bug/limitation in pickle and should be resolved by #1336.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants