You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Segmentation/train.py', wdir='C:/Users/Tarik Enis TOKGOZ/Documents/Python Scripts/Brain Tumor Segmentation')
Traceback (most recent call last):
File "C:\Users\Tarik Enis TOKGOZ\anaconda3\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "c:\users\tarik enis tokgoz\documents\python scripts\brain tumor segmentation\train.py", line 115, in
brain_seg = Training(batch_size=4,nb_epoch=3,load_model_resume_training=model_to_load)
File "c:\users\tarik enis tokgoz\documents\python scripts\brain tumor segmentation\train.py", line 46, 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 "C:\Users\Tarik Enis TOKGOZ\anaconda3\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\Tarik Enis TOKGOZ\anaconda3\lib\site-packages\keras\saving\hdf5_format.py", line 182, in load_model_from_hdf5
raise ValueError(f'No model config found in the file at {filepath}.')
ValueError: No model config found in the file at <tensorflow.python.platform.gfile.GFile object at 0x0000015800304D00>.
The text was updated successfully, but these errors were encountered:
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 Segmentation/train.py', wdir='C:/Users/Tarik Enis TOKGOZ/Documents/Python Scripts/Brain Tumor Segmentation')
Traceback (most recent call last):
File "C:\Users\Tarik Enis TOKGOZ\anaconda3\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec
exec(code, globals, locals)
File "c:\users\tarik enis tokgoz\documents\python scripts\brain tumor segmentation\train.py", line 115, in
brain_seg = Training(batch_size=4,nb_epoch=3,load_model_resume_training=model_to_load)
File "c:\users\tarik enis tokgoz\documents\python scripts\brain tumor segmentation\train.py", line 46, 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 "C:\Users\Tarik Enis TOKGOZ\anaconda3\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\Tarik Enis TOKGOZ\anaconda3\lib\site-packages\keras\saving\hdf5_format.py", line 182, in load_model_from_hdf5
raise ValueError(f'No model config found in the file at {filepath}.')
ValueError: No model config found in the file at <tensorflow.python.platform.gfile.GFile object at 0x0000015800304D00>.
The text was updated successfully, but these errors were encountered: