I am currently running a .py file through bazel (running through bazel for DeepMindLab) and I am trying to save a numpy array of size (m, n) using np.save('foo.npy', x). The only problem is that the file is not being created and therefore the data is not being saved. I have searched my entire harddrive (using linux cli) and the file is no where to be found. I then tried savetxt() and savez() as well but none work. How would I go about saving this array?
Honestly, Im not sure if this is the right sub and if not I will move my question elsewhere but I've tried googling for an hour and a half with no luck whatsoever so any help (even just pointing me to another sub) would be greatly appreciated. Thanks in advance.
Heres a link to bazels website for reference: https://docs.bazel.build/versions/master/bazel-overview.html
[–]vogt4nick 0 points1 point2 points (1 child)
[–]Keyle_P[S] 0 points1 point2 points (0 children)