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

Wrong denominators when normalize xx_channel and yy_channel? #5

Open
jiayily opened this issue Feb 7, 2021 · 1 comment
Open

Wrong denominators when normalize xx_channel and yy_channel? #5

jiayily opened this issue Feb 7, 2021 · 1 comment

Comments

@jiayily
Copy link

jiayily commented Feb 7, 2021

Hi, in your code you normalize xx_channel and yy_channel as following:

xx_channel = tf.cast(xx_channel, 'float32') / (self.x_dim - 1)

yy_channel = tf.cast(yy_channel, 'float32') / (self.y_dim - 1)

I think it should be:
xx_channel = tf.cast(xx_channel, 'float32') / (self.y_dim - 1)
yy_channel = tf.cast(yy_channel, 'float32') / (self.x_dim - 1)
That is the denominators are wrong?

@jiayily jiayily changed the title Wrong denominators when normalize xx_channel and yy_channel Wrong denominators when normalize xx_channel and yy_channel? Feb 7, 2021
@jeanibarz
Copy link

jeanibarz commented Feb 23, 2021

Yes it is, there are already 2 pull requests for that issue (one created since 2020). I think that the repository is not maintained anymore.

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

2 participants