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 the tide convolution being performed correctly? #6

Open
LDHo opened this issue Feb 28, 2018 · 1 comment
Open

Does the tide convolution being performed correctly? #6

LDHo opened this issue Feb 28, 2018 · 1 comment

Comments

@LDHo
Copy link

LDHo commented Feb 28, 2018

According to my understanding on the paper, in order for both images to be able to perform cross input neighborhood differences, the first two convolution layers must be tied in which their trained filters must be shared for two input images. Can I know whether the tide convolution is performed correctly as from my understanding, your codes are using totally different filters for both images.

@stickOverCarrot
Copy link

stickOverCarrot commented May 10, 2018

@LDHo
I think we can replace
[conv2_1 = tf.layers.conv2d(images2, 20, [5, 5], activation=tf.nn.relu,
kernel_regularizer=tf.contrib.layers.l2_regularizer(weight_decay), name='conv2_1')]
with
[ conv2_1 = tf.layers.conv2d(images2, 20, [5, 5], activation=tf.nn.relu, kernel_regularizer=tf.contrib.layers.l2_regularizer(weight_decay), name='conv1_1',reuse=True)].
Other conv layers can share weight and bias by this way.
In fact,we can try the both approaches and then compare the results to judge which is better!

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