the error meaasge:
添加参数conv5_1_W输入信息和tensor数据
conv5_1 节点构建完成
Failed at layer fc7, layer's bottom not detected ...
Traceback (most recent call last):
File "convert2onnx.py", line 34, in
main(args)
File "convert2onnx.py", line 27, in main
c2o = Caffe2Onnx(graph, params, onnx_name)
File "/Documents/caffe-onnx/src/caffe2onnx.py", line 28, in init
self.getNodeList(LayerList)
File "/Documents/caffe-onnx/src/caffe2onnx.py", line 433, in getNodeList
paramdata = op.getReshapeOutShape(Layers[i],reshape_input_shape)
File "/Documents/caffe-onnx/src/OPs/Reshape.py", line 13, in getReshapeOutShape
for dim in input_shape[0]:
IndexError: list index out of range
Hou to solve?
the error meaasge: 添加参数conv5_1_W输入信息和tensor数据 conv5_1 节点构建完成 Failed at layer fc7, layer's bottom not detected ... Traceback (most recent call last): File "convert2onnx.py", line 34, in
main(args)
File "convert2onnx.py", line 27, in main
c2o = Caffe2Onnx(graph, params, onnx_name)
File "/Documents/caffe-onnx/src/caffe2onnx.py", line 28, in init
self.getNodeList(LayerList)
File "/Documents/caffe-onnx/src/caffe2onnx.py", line 433, in getNodeList
paramdata = op.getReshapeOutShape(Layers[i],reshape_input_shape)
File "/Documents/caffe-onnx/src/OPs/Reshape.py", line 13, in getReshapeOutShape
for dim in input_shape[0]:
IndexError: list index out of range
Hou to solve?