Open ksharm50 opened 6 years ago
three solutions:
hope it helps.
hey :)
Actually i am trying to run you solution with brats2018 dataset .
I also got this same issue. I found it is not because of batch size, and the error is in nib.load(image_path).get_data(). So, could you tell us use which tensorflow load api could replace this nib load???
how did you resolve this problem?
while trainig (python train.py --task=all) i got error
Traceback (most recent call last): File "train.py", line 250, in
main(args.task)
File "train.py", line 65, in main
import prepare_data_with_valid as dataset
File "C:\delete\shared_f\braintumor\u-net-brain-tumor-master\prepare_data_with
_valid.py", line 351, in
X_train_input = np.asarray(X_train_input, dtype=np.float32)
File "C:\anaconda\lib\site-packages\numpy\core\numeric.py", line 492, in asarr
ay
return array(a, dtype, copy=False, order=order)
MemoryError
how can i solve this one ? thanks in advance for helping :)