I have searched for hours on google but have not seen any code/package to convert.
Any guidance on this would be highly appreciated.
Asked
Active
Viewed 3,331 times
9

Vikrant
- 4,920
- 17
- 48
- 72

Srivatsa Kulkarni
- 91
- 1
- 3
-
I guess this is a duplicate of https://stackoverflow.com/questions/59375679/tensorflow-pb-format-to-keras-h5 – krenerd Dec 02 '20 at 05:18
-
Does this answer your question? [Tensorflow (.pb) format to Keras (.h5)](https://stackoverflow.com/questions/59375679/tensorflow-pb-format-to-keras-h5) – desertnaut Mar 28 '21 at 12:52
1 Answers
1
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.