Align tf.resizeNearestNeighbor with TF
See original GitHub issueThe 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:
- Created 5 years ago
- Comments:10 (8 by maintainers)
Top 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 >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
@dsmilkov Thanks for letting me know. I’ll take a look.
@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.