-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
np.load() fails to read empty archive created by np.savez() #9989
Comments
Implementation of _pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified. Can we add def savez(file, *args, **kwds):
...
def savez_compressed(file, *args, **kwds):
... It will be also more compatible with def save(file, arr, allow_pickle=True, fix_imports=True):
... |
Hi . I am using Numpy 1.15.2 and still have this error. When do u think it will be available on a specific version ( not master branch) ? Thanks |
It is merged into master, so should automatically be in 1.16 when we branch it off master. |
Try this:
Loading fails:
It should succeed (and give you an object with no arrays inside). Likewise for
savez_compressed()
(which also currently fails).I'm using NumPy 1.13.1.
The text was updated successfully, but these errors were encountered: