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