简体   繁体   中英

Is it possible to convert a google protobuffer file (from tensorflow) into a keras .h5 file?

I am aware that using the "importKerasNetwork" function allows me to import a .h5 file, but is there any way of importing a .pb (protobuf) file? The model has been trained using tensorflow, and would have to be retrained if converted to keras.

I have not been able to try anything yet, and was just wondering if this was possible.

I would hope that this would load the same way that a keras model would load into MATLAB.

This question has already been asked here:- How can I convert a trained Tensorflow model to Keras?

Hope it'll help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM