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

Does each elements in theta range from negative infinity to positive infinity ? #6

Open
MenSanYan opened this issue Feb 12, 2019 · 0 comments

Comments

@MenSanYan
Copy link

Thank you for your excellent implementation of spatial transformer in Tensorflow !
However, I notice the 53-th line of "example.py" as follows:

  • "h_fc1 = tf.matmul(tf.zeros([num_batch, 1200 * 1600 * 3]), W_fc1) + b_fc1".
    What confuses me is the absence of some activation function, such as tf.nn.tanh or tf.nn.sigmoid.
    Without tanh or sigmoid, the range of theta is certainly not limited. What if a proper activation function is used here ? Could you please provide a good recommendation ?
    Thank you !
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