Traceback (most recent call last):


 "test.py", line 37, in <module>

model = tf.keras.models.load_model('MinimalExample.h5')


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/saving/save.py", line 182, in load_model

return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/saving/hdf5_format.py", line 181, in load_model_from_hdf5

load_weights_from_hdf5_group(f['model_weights'], model.layers)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/saving/hdf5_format.py", line 706, in load_weights_from_hdf5_group

str(len(weight_values)) + ' elements.')
ValueError: Layer #121 (named "quant_y_a_relu" in the current model) was found to correspond to layer quant_y_a_relu in the save file. However the new layer quant_y_a_relu expects 3 weights, but the saved weights have 1 elements.

**Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "<stdin>", line 3, in tryselect1
ValueError: __len__() should return >= 0**'
