You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having problems while using the trained model locally (Python). I'm getting extremely different results between local execution and browser usage. I have adopted the suggested Tensorflow / Keras code one to one.
When I train the model and upload my image in the browser I get a result of 90 / 10:
However, as soon as I let the image pass through the model locally (via the proposed code), I get a distribution of only 35 / 65. The result should be class 1 - so the browser applications performs much better than the local version.
I have simulated this behavior in the following colab:
thank you for the help. For the training I used Windows 10 (version 10.0.18363 build 18363) and Google Chrome (version 79). Furthermore I tested Firefox, with the same result.
Is there a browser / os combination that should work better? Which os and browser are you using?
Hi,
I'm having problems while using the trained model locally (Python). I'm getting extremely different results between local execution and browser usage. I have adopted the suggested Tensorflow / Keras code one to one.
When I train the model and upload my image in the browser I get a result of 90 / 10:
However, as soon as I let the image pass through the model locally (via the proposed code), I get a distribution of only 35 / 65. The result should be class 1 - so the browser applications performs much better than the local version.
I have simulated this behavior in the following colab:
https://colab.research.google.com/drive/18gDSEv66XV4DXyahCFUEmaWn4zOnf2K8
Both TF 1.15.0 and 2.1 were tested - I'm getting the same results.
Does anybody know where might be the error?
Many thanks in advance (:
The text was updated successfully, but these errors were encountered: