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

What does the "use_dilated" mean in "build" function? #54

Open
VincentFEI opened this issue May 5, 2018 · 1 comment
Open

What does the "use_dilated" mean in "build" function? #54

VincentFEI opened this issue May 5, 2018 · 1 comment

Comments

@VincentFEI
Copy link

I can't understand what codes below want to do, does anybody can explain?
Thanks so much !!!

if use_dilated:
    pad = [[0, 0], [0, 0]]
    self.pool4 = tf.nn.max_pool(self.conv4_3, ksize=[1, 2, 2, 1],
                                strides=[1, 1, 1, 1],
                                padding='SAME', name='pool4')
    self.pool4 = tf.space_to_batch(self.pool4,
                                   paddings=pad, block_size=2)
else:
    self.pool4 = self._max_pool(self.conv4_3, 'pool4', debug)
@MarvinTeichmann
Copy link
Owner

This implements dilated (atrous) convolutions.

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