Traceback (most recent call last):


 "converter_modify_1.py", line 42, in <module>

saver = tf.train.Saver()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1284, in __init__

self.build()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1296, in build

self._build(self._filename, build_save=True, build_restore=True)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1321, in _build

raise ValueError("No variables to save")
ValueError: No variables to save

Traceback (most recent call last):


 "keras_to_tensorflow.py", line 165, in <module>

app.run(main)


 "/anaconda3/lib/python3.7/site-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/anaconda3/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "keras_to_tensorflow.py", line 111, in main

model = load_model(FLAGS.input_model, FLAGS.input_model_json)


 "keras_to_tensorflow.py", line 89, in load_model

raise wrong_file_err


 "keras_to_tensorflow.py", line 60, in load_model

model = tf.keras.models.load_model(input_model_path)


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/saving.py", line 230, in load_model

model = model_from_config(model_config, custom_objects=custom_objects)


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/saving.py", line 310, in model_from_config

return deserialize(config, custom_objects=custom_objects)


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/layers/serialization.py", line 64, in deserialize

printable_module_name='layer')


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 173, in deserialize_keras_object

list(custom_objects.items())))


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/engine/sequential.py", line 339, in from_config

custom_objects=custom_objects)


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/layers/serialization.py", line 64, in deserialize

printable_module_name='layer')


 "/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 163, in deserialize_keras_object

raise ValueError('Unknown ' + printable_module_name + ': ' + class_name)
ValueError: Unknown layer: BatchNormalizationV1
