-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Result of tf.image.resizeBilinear in Java is different from tf.image.resize In python #333
Comments
Are you specifying |
After using it, the result is closer. |
Are you running it on the same hardware (i.e. CPU or GPU) for both languages? Also can you check the behaviour of tf python 2.4.1? |
Just to let you know that I've just merge this PR to upgrade the current 0.4.0 snapshots to TensorFlow 2.5. It should be ready to be tested out in about 8 hours from now and it could be interesting to see if that fixes the slight delta you are observing in the pixel values between Java and Python scaling (I have doubts but we never know). |
Ok, we had some trouble building the new snapshots with TF2.5 but it is ready now to be used for testing. |
tf version in python:2.5.0
tf version in java :2.4.1
Result of tf.image.resizeBilinear in Java is different from tf.image.resize In python
tf.image.cropAndResize can get the same result
The text was updated successfully, but these errors were encountered: