Skip to content
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

Resize image for nd #629

Closed
ruanxt opened this issue May 6, 2017 · 4 comments
Closed

Resize image for nd #629

ruanxt opened this issue May 6, 2017 · 4 comments

Comments

@ruanxt
Copy link

ruanxt commented May 6, 2017

Is there a functionality of resize image for n-d where n > 2? It seems currently tensorflow only support resize images for 2d images (4D tensor). Could you add the functionality?

@martinwicke martinwicke removed their assignment May 8, 2017
@martinwicke
Copy link
Member

This is a fine feature request. Since it's a somewhat niche feature, we will not be able to work on this soon, but if someone else wants to take this on, I'd support it.

@dynamicwebpaige
Copy link
Contributor

Though adding dimensions is outside the scope of tf.image in TensorFlow Core, it might be a welcome addition to the image operations in TensorFlow Addons. If you haven't already seen it, I'd also strongly recommend taking a look at TensorFlow Graphics! 😄

Transferring this issue to tensorflow/addons; @seanpmorgan for visibility.

@dynamicwebpaige dynamicwebpaige transferred this issue from tensorflow/tensorflow Oct 26, 2019
@seanpmorgan
Copy link
Member

Hmmm this one I'm less confident in adding to addons as opposed to modifying tf.image.resize. There would be no functionality difference only that it would support larger rank tensors. I don't believe this would be adding dimensions, just resizing higher dimensional tensors so I would be interested in hearing why tf.image.resize can't be modified before adding a tfa.image.resize_nd which esentially does the same thing.

@seanpmorgan
Copy link
Member

Closing this issue as I do not see it as a separate addition, but rather an extension to tf.image.resize. Happy to have someone re-open this and discuss why it should be an addon instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants