Different Values on Pixel and Sony Xperia Z1
See original GitHub issueTo get help from the community, we encourage using Stack Overflow and the tensorflow.js
tag.
TensorFlow.js version 1.0. Pulled from <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.0/dist/tf.min.js"></script>
Browser version
Desktop: Chrome 74.0.3729.131 Pixel 2XL: 74.0.3729.136
Describe the problem or feature request
When I run a predict on my desktop (both chrome and IE) I get 2.743 which matches my model’s prediction in Google Colab. When I run from my phone I get a value, then on the second click I get a different value that stays through the rest of my clicks.
Code to reproduce the bug / link to feature request
Navigate to http://bet.eckronsoftware.com/. Once you see “Model Loaded” you can hit the ‘Get Prediction’ button. On the desktop you get 2.73. From your phone you will get a random wrong number.
The model was created using tf.keras.experimental.export_saved_model from within Google Colab.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Google Pixel XL vs Sony Xperia Z1: What is the difference?
What is the difference between Google Pixel XL and Sony Xperia Z1? Find out which is better and their overall performance in the...
Read more >How to Create Seperate Values folder Sony Xperia Z1 in ...
I have tried to Create Seperate Values folder for Sony Xperia Z1 in Android Eclipse Project. i done for values-sw390dp. inside that values...
Read more >Sample gallery: Sony's 20.7-megapixel Xperia Z1
We've shot a gallery and some video samples with Sony's new top-end smartphone, the Xperia Z1.
Read more >Compare phones: Sony Xperia Z1 C6903 vs Google Pixel 6a
Sony Xperia Z1 C6903. Total value: 7,83. Google Pixel 6a. Total value: 6,57. Other names, C6943, G1AZG; GX7AS; GB62Z; GB17L.
Read more >Sony Xperia Z1 specs
Sony Xperia Z1 Specs ; Resolution: 1920 x 1080 pixels, 441 PPI ; Technology: TFT ; Screen-to-body: 64.52 % ; Colors: 16 777...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Removing the workaround and changing tfjs from 1.0.0 to 1.2.2 WORKED on mobile.
Here is my script code:
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.2.2/dist/tf.min.js"></script>
@msektrier I’m going to close this issue since it is unrelated to the Apache Cordova environment which is a native environment like React Native. Feel free to open a separate issue about the Apache Cordova library.