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

documenation of num_levels in tfg.image.pyramid.downsample #629

Open
maweigert opened this issue Jul 27, 2021 · 0 comments
Open

documenation of num_levels in tfg.image.pyramid.downsample #629

maweigert opened this issue Jul 27, 2021 · 0 comments

Comments

@maweigert
Copy link

Hi,

The documentation of tfg.image.pyramid.downsample states it to return "A list containing num_levels tensors" but it actually returns a list containing num_levels+1 tensors

import tensorflow as tf 
import tensorflow_graphics as tfg

x = tf.zeros((1,64,64,1))
pyramid = tfg.image.pyramid.downsample(x, num_levels=3)
print(len(pyramid))

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

No branches or pull requests

1 participant