Please tell me how to solve the problem of custommodel of my own Tf.lite

I have created my own CustomModel for image recognition based on the official Tf.liteModel(GitHub - asus4/tf-lite-unity-sample: TensorFlow Lite Samples on Unity) and tested it, but it does not work.
The image is recognized when I check it on tensorboard after training it with Colab, so it seems to break down in the process of conversion.
I’ve converted Input to Uint8 and Output to Float32, which should be roughly the same as the official model, but it doesn’t work.
I checked Netron and found that the quantization item is increased in Output, so I think that is the problem.
Can you please tell me how to solve this?
Or can you tell me if there are any other problems?

The author is Japanese, so I am using a translation tool to write this text. If you have any questions, please feel free to contact me. I apologize for this.

Did you test it using python tflite interpreter, or in unity?

Thank you for your reply.
I have already tested it in Unity, but it did not work correctly.

What do you mean by not working? Outputs are wrong?
Can you test it with python tflite interpreter like this?

The frame that appears when recognizing an object learned by training does not appear, and although I used the interpreter to check, it clearly shows abnormal values. (e.g., 10 objects were recognized even though there was only one object in the test image). However, the verification with the interpreter was done only by looking at the numerical values of the inference results (bboxes, classes, scores, num), not by checking the Inference result drawing.

Maybe model was poorly trained. Did you try feeding some images from the training set and check values?
Also, it may detect 10 objects, but the scores may be low. Is it SSD?

In tensorboard, 100% of the detection results have been confirmed for the images submitted from the training set, and the system has been trained 2000 times with about 3,000 images.
We are using SSD.

Can you run inference with python interpreter and with unity using same image from training set? You can paste both results here

I tried it. I’ll post the log.

Unity

intput 0: name: normalized_input_image_tensor, type: UInt8, dimensions: [1,300,300,3], quantizationParams: {scale: 0.007874016 zeroPoint: 128}
output 0: name: TFLite_Detection_PostProcess, type: Float32, dimensions: , quantizationParams: {scale: 0 zeroPoint: 0}
output 1: name: TFLite_Detection_PostProcess:1, type: Float32, dimensions: , quantizationParams: {scale: 0 zeroPoint: 0}
output 2: name: TFLite_Detection_PostProcess:2, type: Float32, dimensions: , quantizationParams: {scale: 0 zeroPoint: 0}
output 3: name: TFLite_Detection_PostProcess:3, type: Float32, dimensions: , quantizationParams: {scale: 0 zeroPoint: 0}

UnityEngine.Debug:Log (object)
TensorFlowLite.InterpreterExtension:LogIOInfo (TensorFlowLite.Interpreter) (at Packages/com.github.asus4.tflite.common/Runtime/InterpreterExtension.cs:31)
TensorFlowLite.BaseImagePredictor`1:.ctor (string,bool) (at Packages/com.github.asus4.tflite.common/Runtime/BaseImagePredictor.cs:58)
TensorFlowLite.SSD:.ctor (string) (at Assets/Samples/SSD/SSD.cs:31)
SsdSample:Start () (at Assets/Samples/SSD/SsdSample.cs:25)

top0.8070749
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left-0.03399411
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom-0.3133681
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right0.5328376
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

TensorFlowLite.SSD+Result
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:66)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top0.5306282
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left0.1886072
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom-0.02802896
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right1.324797
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top1.032307
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left0.1861253
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom0.4686136
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right1.329392
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top0.6402707
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left0.3516822
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom-0.1492556
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right1.152015
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top0.9319385
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left0.5173804
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom-0.4426452
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right0.9786583
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top1.144135
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left0.3489105
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom0.3504049
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right1.154072
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top1.427575
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left0.5202292
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom0.05350661
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right0.9812789
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top0.6445382
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left-0.1473951
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom-0.1522291
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right0.6495078
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top0.5334796
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left-0.3164701
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom-0.03158045
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right0.8182354
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

top0.9857099
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:56)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

left-0.4539713
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:57)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

bottom0.5169986
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:58)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

right0.9410651
UnityEngine.Debug:Log (object)
TensorFlowLite.SSD:GetResults () (at Assets/Samples/SSD/SSD.cs:59)
SsdSample:Invoke (UnityEngine.UI.RawImage) (at Assets/Samples/SSD/SsdSample.cs:56)
UnityEngine.Events.UnityEvent`1<UnityEngine.UI.RawImage>:Invoke (UnityEngine.UI.RawImage)
SsdSample:Update () (at Assets/Samples/SSD/SsdSample.cs:44)

interpreter

[[ 0.19292569 -0.03399226 1.3133695 0.5328374 ]
[ 0.46937028 0.18860328 1.0280292 1.3247969 ]
[-0.03230828 0.186122 0.5313859 1.3293948 ]
[ 0.35973042 0.3516828 1.149255 1.152014 ]
[ 0.06805933 0.5173805 1.4426473 0.97865784]
[-0.1441339 0.34890842 0.64959776 1.1540715 ]
[-0.42756975 0.5202309 0.9464917 0.9812783 ]
[ 0.35546297 -0.14739719 1.15223 0.6495074 ]
[ 0.46651825 -0.31647176 1.0315791 0.81823033]
[ 0.01428877 -0.4539749 0.4830022 0.94107777]] [0. 0. 0. 1. 0. 1. 0. 1. 0. 1.] [0.37496147 0.37465307 0.37336463 0.37235105 0.37219098 0.3707734
0.37040633 0.36948812 0.3691071 0.3669909 ] 10

Scores are almost the same for every object. Looks like model is poorly trained. These scores are from python tflite intepreter?

You can also upload model and ill try to test it

Uploaded to GitHub. (GitHub - VINEdevelopment/customTFlite)
This is my first time using it, so I apologize if there are any inadequacies.

I tested your model and it always returns same values, input doesnt matter. Seems like its not trained