keras_to_tensorflow icon indicating copy to clipboard operation
keras_to_tensorflow copied to clipboard

General code to convert a trained keras model into an inference tensorflow model

Results 63 keras_to_tensorflow issues
Sort by recently updated
recently updated
newest added

Hi! Thank you for your work! I see a TODO item in the script: # TODO(amirabdi): Support networks with multiple inputs. So do the script support multiple inputs now?

I do follow the way that Readme showed, but my new .pb is not work as same as .h5,I do not know the reason and also do not know how...

convert keras to TF issues https://github.com/idealo/image-quality-assessment/tree/master/models/MobileNet Using TensorFlow backend. E1024 13:13:24.766817 4580332992 keras_to_tensorflow.py:79] Couldn't load model from json. Traceback (most recent call last): File "keras_to_tensorflow.py", line 63, in load_model model...

sing TensorFlow backend. Traceback (most recent call last): File "keras_to_tensorflow.py", line 182, in app.run(main) File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 300, in run _run_main(main, args) File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 251, in _run_main sys.exit(main(argv)) File...

Hi friends, After I converted keras model to tensorflow model, I run it on tensorflow for mobile. I got an error: ----- camera/CameraExampleViewController.mm:320] Running model failed:Invalid argument: Shape [-1,112,112,1] has...

Hello, when I loaded my converted tf model, I got the following error, do you know what happened? Using keras, I fine-tuned the inception_resnet_v2 model and converted the saved .h5...

I get this error when trying to convert the file from keras to TF. I have saved the keras file as model.save(filename.h5).... I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this...

Thanks for writing this helpful tool! Question, not issue... I converted my saved Keras model (.h5 file) to a frozen Tensorflow model (.pb file) using your tool. Now I want...

I notice that the size of model.pb can be smaller if use "Quantize weights" method proposed by tensorflow-team. But I don't know how to use it. Can you think about...

enhancement