-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error reading python generated .npy with float64 numbers #43
Comments
I can't reproduce this, could you provide an example of the matrix that you're having an issue with? In [1]: import numpy as np
In [3]: matrix = np.zeros((2,2))
In [4]: matrix.dtype
Out[4]: dtype('float64')
In [5]: np.save('matrix.npy', matrix) julia> using NPZ
julia> npzread("matrix.npy")
2×2 Array{Float64,2}:
0.0 0.0
0.0 0.0 |
Hi, sorry for not providing more details.
That exact example is raising the following error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am getting this error when trying to load a matrix written by python in npy format. The matrix contains
float64
numbers. It only happens withdtype=float64
numbers, when I try the same withdtype=int
I don't get any errors and the matrix is loaded correctly.The text was updated successfully, but these errors were encountered: