AndyWangON / Brain-tumor-segmentation-using-deep-learning

#BRATS2015 #BRATS2018 #deep learning #fully automatic brain tumor segmentation #U-net # tensorflow #Keras
54 stars 29 forks source link

Problem of weights file #5

Open hechengen opened 5 years ago

hechengen commented 5 years ago

First, thank you for your sharing! But When I used your weights-full-best.h5, I got a problem as :

ValueError: You are trying to load a weight file containing 41 layers into a model with 40 layers.

I am sure that I did not modify your model, so why I got this problem?

ninjakx commented 4 years ago

@hechengen Are you able to load the weight file?? It's giving me errors like

OSError: Unable to open file (truncated file: eof = 74436151, sblock->base_addr = 0, stored_eof = 257557808)

ValueError: Cannot create group in read only mode.