Closed netw0rkf10w closed 4 years ago
Sorry, this was because I loaded it as double
. I changed to float
and it works.
Sorry, this was because I loaded it as
double
. I changed tofloat
and it works.
Hi, could you please tell me how to check data of the array loaded via the type cnpy::NpyArray
?
@Joevaen I just followed this example, which is quite straightforward.
Hello,
I would like to report a potential bug in the software: when loading a
float32
numpy array, it gives incorrect values. I spent a while on this bug before realizing that converting the numpy array tofloat64
before saving makes it work.Best regards.