I have searched for hours on google but have not seen any code/package to convert.
Any guidance on this would be highly appreciated.
How to convert tensorflow model to keras model? .pb file to .hdf5?
Asked Answered
I guess this is a duplicate of #59376179 –
Orchestrate
Does this answer your question? Tensorflow (.pb) format to Keras (.h5) –
Rafaelrafaela
Use tf.keras.models.load_model('Model')
Instead of tf.keras.models.load_model('saved_model.pb')
Check similar issue https://mcmap.net/q/1320453/-tensorflow-pb-format-to-keras-h5 Well explained about conversion of .pb to .H5 format.
© 2022 - 2024 — McMap. All rights reserved.