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

yolov3转换 Upsample Layer出错 #11

Open
zgq91 opened this issue May 21, 2020 · 4 comments
Open

yolov3转换 Upsample Layer出错 #11

zgq91 opened this issue May 21, 2020 · 4 comments

Comments

@zgq91
Copy link

zgq91 commented May 21, 2020

hi:
感谢开源 我在转成darknet官方的yolov3.cfg yolov3.weights时出错:Check failed: ExactNumBottomBlobs() == bottom.size() (2 vs. 1) Upsample Layer takes 2 bottom blob(s) as input.环境windows10 python3.6

@ChenYingpeng
Copy link
Owner

Please check your upsample layer which botton blobs size must be 1. Such as
`

layer {
bottom: "layer85-conv"
top: "layer86-upsample"
name: "layer86-upsample"
type: "Upsample"
upsample_param {
scale: 2
}
}
`

@yulinhuyang
Copy link

layer {
bottom: "layer118-conv"
top: "layer119-upsample"
name: "layer119-upsample"
type: "Upsample"
upsample_param {
scale: 2
}
} 这是我的转换结果,在一些嵌入式AI环境仿真也报同样错误,没看明白为啥。

@yulinhuyang
Copy link

看到网上又用deconv替换upsample的。不知道能否解决

@ChenYingpeng
Copy link
Owner

Please post more details about your error log.

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

3 participants