Closed noguxun closed 7 years ago
@noguxun tf-converter.py supposes that the input model is a complete model (model definition + weights).
Your model is weight only. So, you have to build model once, and then you have to load weights into the built model.
model.load_weights('checkpoint_weights.10--0.51.h5', by_name=True)
@akirasosa Got it! great many thanks!
I try to verify a check point model by firstly try to convert it to pb format.
but I got an error like below
Do you know what could be wrong?
Is there any easy way to verify the h5 model directly on the PC?