Result of tf.image.resizeBilinear in Java is different from tf.image.resize In python

Open
#333 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, tensorflow

Research direction

Start by reproducing the discrepancy between tf.image.resizeBilinear in Java and tf.image.resize in Python using the versions listed in the issue. Compare the result with tf.image.cropAndResize, record the inputs and outputs, and determine whether the APIs should produce matching results or require clearer documentation.

Written by the indexing model from the issue text.

Description

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

Dominant language
Java
Stars
928
Forks
227
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tensorflow/java

All issues in tensorflow/java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.