Reputation: 91
I have searched for hours on google but have not seen any code/package to convert.
Any guidance on this would be highly appreciated.
Upvotes: 9
Views: 3580
Reputation:
Use tf.keras.models.load_model('Model')
Instead of tf.keras.models.load_model('saved_model.pb')
Check similar issue https://stackoverflow.com/a/62211811/14290244 Well explained about conversion of .pb to .H5 format.
Upvotes: 1