I have trained my own model that detects eye region with landmarks and I have converted it to frozen inference graph and from the inference to tflite model.
I integrated the tflite model on Android Studio.
I have followed ML kit instructions :
https://firebase.google.com/docs/ml-kit/android/use-custom-models
The result ( outputs ) that should I get is 80 values ( 40 couples x and y ) => 40 points(x,y).
For e.g , this is a prediction from model .ckpt before converting:
I have tested this image on Android Studio with tflite model converted from the same model that I have tested it on python
I have got values and I have printed those values with Log.i function, but those values are differents
I have trained my own model that detects eye region with landmarks and I have converted it to frozen inference graph and from the inference to tflite model. I integrated the tflite model on Android Studio. I have followed ML kit instructions : https://firebase.google.com/docs/ml-kit/android/use-custom-models
The result ( outputs ) that should I get is 80 values ( 40 couples x and y ) => 40 points(x,y). For e.g , this is a prediction from model .ckpt before converting:
[0.33135968 0.19592011 0.34212315 0.17297666 0.36624995 0.16413747 0.3894139 0.17440952 0.39828074 0.1978043 0.3891497 0.22268474 0.36345637 0.22974193 0.3401759 0.2193309 0.30167252 0.20411113 0.3167112 0.19134495 0.33793524 0.18388326 0.3642417 0.18049955 0.3903508 0.18533507 0.40906873 0.1957745 0.42142123 0.21091096 0.40550107 0.21829814 0.38345626 0.22071144 0.35900232 0.22142673 0.3363348 0.21877256 0.3161971 0.2133534 0.62843406 0.21482795 0.6389724 0.1914106 0.6628249 0.1835615 0.6858679 0.19583184 0.6946868 0.22111627 0.6840309 0.24444285 0.66027373 0.25241333 0.6351568 0.24192403 0.60499936 0.22642238 0.6210091 0.21289764 0.6423563 0.2042976 0.6685919 0.20277795 0.69201195 0.20948553 0.70882106 0.22015369 0.71931773 0.23518339 0.7076659 0.24166131 0.69054717 0.24350837 0.6694564 0.24258481 0.64537776 0.23927754 0.62199306 0.23511863]
related to this picture:
I have tested this image on Android Studio with tflite model converted from the same model that I have tested it on python I have got values and I have printed those values with Log.i function, but those values are differents
Observed Results:
Relevant Code: For the code, you can get from here
How can I solve this problem?