rezazad68 / BCDU-Net

BCDU-Net : Medical Image Segmentation
719 stars 265 forks source link

Too many indicies in array #9

Closed OmarMohammed88 closed 4 years ago

OmarMohammed88 commented 4 years ago
Train_img      = Data_train[0:alpha,:,:]
Test_img       = Data_train[alpha:en_d,:,:]

Train_mask     = Mask_train[0:alpha,:,:]
Test_mask      = Mask_train[alpha:en_d,:,:]

Train_maska     = Maska_train[0:alpha,:,:]
Test_maska      = Maska_train[alpha:en_d,:,:]

FOV_tr     = FOV_train[0:alpha,:,:]
FOV_te      = FOV_train[alpha:en_d,:,:]

in module Prepare_data.py

rezazad68 commented 4 years ago

Hi,

Please check the shape of Data_train, most probably you didnot load it correctly. It seems that this variable is empty that you are getting such error. Follow the instruction line by line, it should work without problem.