Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

implemented dilation for deep cnn representation #810

Closed

Conversation

shreydesai
Copy link
Contributor

Differential Revision: D16403538

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 20, 2019
shreydesai added a commit to shreydesai/pytext that referenced this pull request Jul 27, 2019
Summary:
Pull Request resolved: facebookresearch#810

Implements dilated convolutions with associated changes to the padding of a convolutional layer. Regular convolutions -- especially those with smaller kernel sizes -- have small receptive fields. Achieving a large receptive requires stacking a lot of convolutions, which creates a deeper network and more difficult optimization problem.

Dilated convolutions evaluate the convolution at spaced intervals -- the dilation rate -- which has the effect of increasing the receptive field with a lesser amount of convolutions. They are commonly stacked with the dilation factor increasing by a power of 2 in each successive layer -- this means we only need ceil(log2(n)) convolutional layers to cover a receptive field of size n.

Differential Revision: D16403538

fbshipit-source-id: baf0744ce5f51dd599e07dcb7068033edf698e58
Differential Revision: D16403533

fbshipit-source-id: fa8889794e6cf8479206a6f3ebe47ffc42a87faa
Summary:
Pull Request resolved: facebookresearch#810

Implements dilated convolutions with associated changes to the padding of a convolutional layer. Regular convolutions -- especially those with smaller kernel sizes -- have small receptive fields. Achieving a large receptive requires stacking a lot of convolutions, which creates a deeper network and more difficult optimization problem.

Dilated convolutions evaluate the convolution at spaced intervals -- the dilation rate -- which has the effect of increasing the receptive field with a lesser amount of convolutions. They are commonly stacked with the dilation factor increasing by a power of 2 in each successive layer -- this means we only need ceil(log2(n)) convolutional layers to cover a receptive field of size n.

Reviewed By: geof90

Differential Revision: D16403538

fbshipit-source-id: a4ad0becde46975ab9439ec7f76a6dba3b804e97
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7dbc8e8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants