load tf_model.h5

#1
by surfmetrics - opened

Hi Everyone,

I wanted to create a file containing this model in the format of SavedModel of tensorflow.
I have tried to load the file tf_model.h5 by using tf.keras.models.load_model('tf_model.h5').
However, this gave me this error: 'ValueError: No model config found in the file at ...'
Online I found that this error could mean that only the weights were saved and not the entire model.
Does someone have a solution for this?

Sign up or log in to comment