You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
Hi, in your code you normalize xx_channel and yy_channel as following:
CoordConv/CoordConv.py
Line 70 in 27fab8b
CoordConv/CoordConv.py
Line 71 in 27fab8b
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?
The text was updated successfully, but these errors were encountered: