TFLITE error result

I have deployed my tflite model through flask on railway. I have checked the model and it gives correct results but when deployed it always gives the result 1 not matter what input is given. I have tried the model on my local machine and it has no issues and always gives correct results(floating point).
5 Replies
Percy
Percy11mo ago
Project ID: 1dc61bc3-cf55-4bd7-bc42-a43ea2452814
John Alexander
John Alexander11mo ago
1dc61bc3-cf55-4bd7-bc42-a43ea2452814 Need a solution
Adam
Adam11mo ago
this is a code issue, not a railway issue. Not something we can help with without more info
John Alexander
John Alexander11mo ago
I have checked the code and it works fine, only after deploying it on railway does it give the same result 1 over and over again. If I give you the code will you be able to help me with it
Brody
Brody11mo ago
unfortunately, your code working locally but not when on railway does not resolve the possibility of this being a code issue, and its very likely is a code issue youre also probably not the only person who has faced this issue, since it wouldn't be caused by railway, google is your friend