Skip to content
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

OSError #1

Open
jaykumar16 opened this issue Sep 27, 2019 · 1 comment
Open

OSError #1

jaykumar16 opened this issue Sep 27, 2019 · 1 comment

Comments

@jaykumar16
Copy link

I am running data_prep.py first to gather the data in my normal computer and I am getting MemorryError: unable to make matrix even tho I have 16GB RAM and GPU of 6GB.

I try this on the cluster and I am getting the following error:

Traceback (most recent call last):
File "data_prep.py", line 363, in
ismrmrd_to_npy(dir_mridata_org, dir_npy)
File "data_prep.py", line 98, in ismrmrd_to_npy
np.save(file_output, kspace.astype(np.complex64))
File "/home/jaykumar/Envjay/lib/python3.6/site-packages/numpy/lib/npyio.py", line 536, in save
pickle_kwargs=pickle_kwargs)
File "/home/jaykumar/Envjay/lib/python3.6/site-packages/numpy/lib/format.py", line 640, in write_array
array.tofile(fp)
OSError: problem writing element 524288 to file

@ekcole
Copy link
Member

ekcole commented Apr 22, 2020

maybe this will help?
numpy/numpy#5336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants