neheller / kits19

The official repository of the 2019 Kidney and Kidney Tumor Segmentation Challenge
Other
432 stars 178 forks source link

MemoryError at get_data (memory is available according to Task Manager) #56

Open Dennis182 opened 4 years ago

Dennis182 commented 4 years ago

Hi, thanks for providing the data.
Does the following error affect several users or does it only occur with me? Even if I change the function call as recommended, I get the MemoryError.
.../kits19/starter_code/visualize.py:81: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).

neheller commented 3 years ago

Interesting... this is the first I've heard of an issue like this. Some of the files are rather large. How much RAM does your system have?

ELKYang commented 3 years ago

Hello, I also met this problem, how do you solve it?

ELKYang commented 3 years ago

I have solved it Change the python interpreter to anaconda