burbilog:

my model works in python but performs poorly in Android app. 1/3 of predictions are wrong, while python version predicts 100% correctly.





 Janneke_van_Hulten:

I am dealing with the same kind of problem…





 Van_Gil:

I think the problem is the wrong data transfer to the input layer of the tflite model in Android, but this is just a guess.


Do you use the same test set in Android (with Java) as with the Python code you used to train the model before converting to .tflite? This is to make sure we’re having an apples to apples comparison.
Looping in @xhae