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

When I create the following model file and then try to convert it, I get an error:- "TypeError: Keras symbolic inputs/outputs do not implement `op`. You may be trying to...

Tried today to convert my h5 model but I have this: ``` sudo python keras_to_tensorflow.py --input_model="mymodel.h5" --output_model="mymodel.pb" Using TensorFlow backend. Traceback (most recent call last): File "keras_to_tensorflow.py", line 182, in...

raise ValueError('No model found in config file.') ValueError: No model found in config file. using tf 2.2

while converting got error as ValueError('Unknown ' + printable_module_name + ': ' + class_name) ValueError: Unknown layer: BatchNorm

When I use this tool,there is a mistake。Do you know how to fix it? Thank you very much!

Hi, I have trained a Mask-RCNN with TensorFlow 2 and, How can I convert h5 to pb in TensorFlow 2? Thanks

I0227 19:54:48.895969 5724 keras_to_tensorflow.py:146] Converted output node names are: ['dense_2/Softmax'] Traceback (most recent call last): File "keras_to_tensorflow.py", line 182, in app.run(main) File "C:\Users\Gaurav\AppData\Roaming\Python\Python37\site-packages\absl\app.py", line 303, in run _run_main(main, args) File...

eras\activations.py", line 573, in get return deserialize(identifier) File "H:\repo\keras_to_tensorflow-master\keras_to_tensorflow-master\env-tf1.15.0\lib\site-packages\tensorflow\python\util\dispatch.py", line 201, in wrapper return target(*args, **kwargs) File "H:\repo\keras_to_tensorflow-master\keras_to_tensorflow-master\env-tf1.15.0\lib\site-packages\tensorflow\python\keras\activations.py", line 536, in deserialize printable_module_name='activation function') File "H:\repo\keras_to_tensorflow-master\keras_to_tensorflow-master\env-tf1.15.0\lib\site-packages\tensorflow\python\keras\utils\generic_utils.py", line 378, in deserialize_keras_object...

Hello, i don't know how to use this. Where should I put my .h5 model destination file?