My command is as follows.
tflite_convert --saved_model_dir='/home/export/best_model_d0/1/' --graph_def_file='/home/u291321/Python_work/video_compression/src/git_tf2_effdet/EfficientDet-tensorflow2-main/export/best_model_d0/1/saved_model.pb' --output_file='model_clpb.tflite' --input_shapes=1,128,80,1 --input_arrays='input' --output_arrays='Softmax'
My error is,
raise ConverterError(str(e))
tensorflow.lite.python.convert.ConverterError: <unknown>:0: error: loc("Func/StatefulPartitionedCall/input/_0"): requires all operands and results to have compatible element types
<unknown>:0: note: loc("Func/StatefulPartitionedCall/input/_0"): see current operation: %1 = "tf.Identity"(%arg0) {_class = ["loc:@Func/StatefulPartitionedCall/functional_1/lambda/StatefulPartitionedCall/input/_715"], device = ""} : (tensor<?x?x?x3x!tf.quint8>) -> tensor<?x?x?x3xui8>
Please help in resolving this.