mace icon indicating copy to clipboard operation
mace copied to clipboard

tensor.h:203 Check failed: index < shape_.size() view_blob1: Dim out of range: 2 >= 2

Open lyhehong opened this issue 5 years ago • 1 comments

采用最新master code

2019-06-20 17:28:20.736 13823-13823/com.xiaomi.mace.demo I/MACE: logging.h:94 Running operator view1<0, Reshape, 1> started 2019-06-20 17:28:20.736 13823-13823/com.xiaomi.mace.demo I/MACE: net.cc:203 Operator view1 has shape: [1, 25088] 2019-06-20 17:28:20.736 13823-13823/com.xiaomi.mace.demo I/MACE: logging.h:100 Running operator view1<0, Reshape, 1> latency: 53 us 2019-06-20 17:28:20.736 13823-13823/com.xiaomi.mace.demo I/MACE: logging.h:94 Running operator fc1<0, FullyConnected, 1> started 2019-06-20 17:28:20.736 13823-13823/com.xiaomi.mace.demo A/MACE: tensor.h:203 Check failed: index < shape_.size() view_blob1: Dim out of range: 2 >= 2

layer { name: "view1" type: "Reshape" bottom: "batch_norm_blob29" top: "view_blob1" reshape_param { shape { dim: 0 dim: 25088 } } }

lyhehong avatar Jun 20 '19 09:06 lyhehong

这个Reshape的算子,输出shape是[0, 25088]?以及,caffe的fc算子,输入应该要四维的吧

yejw5 avatar Jun 24 '19 02:06 yejw5