OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.55k stars 2.19k forks source link

How to conver the model format of“.h5” to the“.pb”? #165

Closed lianghx7 closed 5 years ago

lianghx7 commented 5 years ago

I want to convert a model in .h5 format to a model in .pb format for use under TensorFlow. What should I do? Thanks.

OlafenwaMoses commented 5 years ago

We will provide support for this very soon.

lianghx7 commented 5 years ago

Your help is much appreciated. I am looking forward to the next update of imageai. 😊

MOSES OLAFENWA notifications@github.com 于2019年3月16日周六 下午7:07写道:

We will provide support for this very soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OlafenwaMoses/ImageAI/issues/165#issuecomment-473520875, or mute the thread https://github.com/notifications/unsubscribe-auth/Ar3WE7TVQLOFQepMwidnLHO9-Ci1oFWpks5vXNBWgaJpZM4biuY3 .

OlafenwaMoses commented 5 years ago

@lianghx7 , thanks very much for your patience. We have released a new version (v2.0.3) which now suports converting your Keras models into Tensorflow's (.pb) format. See the link below on how use this.

https://github.com/OlafenwaMoses/ImageAI/blob/master/imageai/Prediction/CUSTOMPREDICTION.md#converttensorflow

lianghx7 commented 5 years ago

@OlafenwaMoses Thank you for your contribution, I will try to use the new version of ImageAI. Best wishes for you and ImageAI. 😄

MOSES OLAFENWA notifications@github.com 于2019年6月14日周五 上午12:23写道:

Closed #165 https://github.com/OlafenwaMoses/ImageAI/issues/165.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OlafenwaMoses/ImageAI/issues/165?email_source=notifications&email_token=AK65ME2EGRIX4GMO7BQLACLP2JYBXA5CNFSM4G4K4Y32YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR6356NA#event-2411192116, or mute the thread https://github.com/notifications/unsubscribe-auth/AK65ME2Q75SQN2WUTXY34G3P2JYBXANCNFSM4G4K4Y3Q .