Brain-tumor-segmentation
Brain-tumor-segmentation copied to clipboard
A deep learning based approach for brain tumor MRI segmentation.
Hi Issam, while I run train.py, I encountered that error even though I used ResUnet.epoch_02.hdf5. For that reason, ResUnet.04_0.646.hdf5 isn't exist. Also, this error is runfile('C:/Users/Tarik Enis TOKGOZ/Documents/Python Scripts/Brain Tumor...
I am getting this error while training the model
axis2: axis 1 is out of bounds for array of dimension 1
In line 74 (gt_im = np.swapaxes(self.train_im, 0, 1)[4]) at extract_patches.py I will get the following error. ValueError: bad axis2 argument to swapaxes.
Using TensorFlow backend. Traceback (most recent call last): File "/content/drive/My Drive/Brain-tumor-segmentation-master/train.py", line 108, in brain_seg = Training(batch_size=4,nb_epoch=3,load_model_resume_training=model_to_load) File "/content/drive/My Drive/Brain-tumor-segmentation-master/train.py", line 39, in __init__ self.model =load_model(load_model_resume_training,custom_objects={'gen_dice_loss': gen_dice_loss,'dice_whole_metric':dice_whole_metric,'dice_core_metric':dice_core_metric,'dice_en_metric':dice_en_metric}) File "/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py", line...
when i run the code i get an error like this `ValueError: Cannot create group in read-only mode.`
Thank you very much for your code but can you please help me regarding this issue. This code was running fine but now its giving me this error from model.py...