Do the filters in deconvolution layer same as filters in convolution?
$begingroup$
I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:
Filters used in deconvolution is just the transpose of the convolution matrix.
Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?
deep-learning
$endgroup$
add a comment |
$begingroup$
I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:
Filters used in deconvolution is just the transpose of the convolution matrix.
Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?
deep-learning
$endgroup$
add a comment |
$begingroup$
I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:
Filters used in deconvolution is just the transpose of the convolution matrix.
Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?
deep-learning
$endgroup$
I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:
Filters used in deconvolution is just the transpose of the convolution matrix.
Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?
deep-learning
deep-learning
asked Oct 3 '18 at 15:07
Nougat XuNougat Xu
111
111
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.
$endgroup$
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
add a comment |
$begingroup$
Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.
$endgroup$
add a comment |
$begingroup$
No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "557"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f39119%2fdo-the-filters-in-deconvolution-layer-same-as-filters-in-convolution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.
$endgroup$
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
add a comment |
$begingroup$
Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.
$endgroup$
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
add a comment |
$begingroup$
Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.
$endgroup$
Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.
answered Oct 3 '18 at 15:10
GrozaiLGrozaiL
1094
1094
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
add a comment |
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
$begingroup$
Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
$endgroup$
– Nougat Xu
Oct 3 '18 at 20:38
add a comment |
$begingroup$
Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.
$endgroup$
add a comment |
$begingroup$
Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.
$endgroup$
add a comment |
$begingroup$
Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.
$endgroup$
Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.
answered Oct 4 '18 at 0:44
Nougat XuNougat Xu
111
111
add a comment |
add a comment |
$begingroup$
No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
$begingroup$
No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
add a comment |
$begingroup$
No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
$endgroup$
No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 4 hours ago
yacht clubyacht club
1
1
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f39119%2fdo-the-filters-in-deconvolution-layer-same-as-filters-in-convolution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown