George_Soloupis:

This is what I see from the .h5 model:
input: 
"Name: input"
"type: float32[?,?]



I think this is the source of the problem.
IIRC, TFLite needs fixed sized tensors. During conversion TFLite goes through and replaces unknown dimensions with 1. That’s fine for batch-size, but makes a mess for everything else.
Where you’re defining your model, try: input = tf.keras.Input(shape=[5]), or input_shape=[5].