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

conv3d和conv2d的区别 #28

Closed
kiddnesta opened this issue Jun 20, 2018 · 1 comment
Closed

conv3d和conv2d的区别 #28

kiddnesta opened this issue Jun 20, 2018 · 1 comment

Comments

@kiddnesta
Copy link

我一开始以为两者区别是灰度图只有一个通道只需要conv2d 如果是彩色RGB需要conv3d
但是仔细看了下conv2d里面也是包含了in_channels的 也就是conv2d是可以对彩色RGB进行卷积的。
不知道我这样理解是否正确。
那么conv3d又是什么场合使用?

@MorvanZhou
Copy link
Owner

我想是单个filter的卷积维度,
conv1d 在:
[1,2,3,4]
有左右维度上卷积,

conv2d 在:
[[1,2,3],
[2,3,4],
[3,4,5]]
有上下左右的维度上卷积.

以此类推, conv3 在有上下前后左右的维度上卷积.

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