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

关于nnie实现双线性插值 #47

Open
MoonBunnyZZZ opened this issue Jul 22, 2020 · 1 comment
Open

关于nnie实现双线性插值 #47

MoonBunnyZZZ opened this issue Jul 22, 2020 · 1 comment

Comments

@MoonBunnyZZZ
Copy link

你好,请问海思nnie上默认支持双线性差值吗?如果不支持,可否在不造轮子前提下使用其他层实现? @hanson-young 谢谢

@hanson-young
Copy link
Owner

部分支持吧,UpsamplingBilinear2d对应的可以使用Deconvolution代替,不过也看你的缩放比例。比如,
layer {
name: "UpsamplingBilinear2d_3"
type: "Deconvolution"
bottom: "ConvNd_37"
top: "UpsamplingBilinear2d_3"
param {
lr_mult: 0.0
decay_mult: 0.0
}
convolution_param {
num_output: 24
bias_term: false
pad: 1
kernel_size: 4
group: 24
stride: 2
weight_filler {
type: "bilinear"
}
}
}

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