darknet2caffe icon indicating copy to clipboard operation
darknet2caffe copied to clipboard

yolov3转换 Upsample Layer出错

Open zgq91 opened this issue 4 years ago • 4 comments

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

zgq91 avatar May 21 '20 13:05 zgq91

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 } } `

ChenYingpeng avatar May 22 '20 07:05 ChenYingpeng

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

yulinhuyang avatar May 25 '20 11:05 yulinhuyang

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

yulinhuyang avatar May 25 '20 11:05 yulinhuyang

Please post more details about your error log.

ChenYingpeng avatar May 25 '20 12:05 ChenYingpeng