question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Align tf.resizeNearestNeighbor with TF

See original GitHub issue

The following test fails when ran against TensorFlow Python: resizeNearestNeighbor simple alignCorners=false

TF Python gives: 2,2,2,2,2,2,4,4,4. The current implementation gives: 2,2,2,4,4,4,4,4,4.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Lewuathecommented, Apr 24, 2018

@dsmilkov Thanks for letting me know. I’ll take a look.

0reactions
tafsiricommented, Dec 17, 2018

@nsthorat @dsmilkov I’m pretty sure we can close this. The test has updated to match the expected python update.

Lemme know if there is something i’m missing in terms of actions on this bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tensorflow::ops::ResizeNearestNeighbor Class Reference
Resize images to size using nearest neighbor interpolation. Summary. Args: scope: A Scope object; images: 4-D with shape [ ...
Read more >
Tensorflow.js tf.image.resizeNearestNeighbor() Function
resizeNearestNeighbor () function is used to rescale a heap of 3D images to a different configuration. Syntax: tf.image.
Read more >
tf.raw_ops.ResizeNearestNeighbor - TensorFlow 2.3
tf.raw_ops.ResizeNearestNeighbor. Resize images to size using nearest neighbor interpolation. View aliases. Compat aliases for migration. See Migration guide ...
Read more >
tf.image.resize_nearest_neighbor | TensorFlow
tf.image.resize_nearest_neighbor( images, size, align_corners=False, name=None ) ... output tensors are aligned, preserving the values at the corner pixels.
Read more >
Equivalent tensorflow.js function for tf.compat.v1.image.resize?
There is tf.image.resizeBilinear (respectively tf.image.resizeNearestNeighbor ) which will performs a resize using the bilinear sampling ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found