numpy save/load corrupting an array numpy save/load corrupting an array numpy numpy

numpy save/load corrupting an array


This is a known issue (note that that links against numpy 1.4). If you really can't upgrade, my advice would be to try to save in a different way (savez, savetxt). If getbuffer is available you can try to write the bytes directly. If all else fails (and you can't upgrade), you can write your own save function pretty easily.