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

IndexError: list index out of range #31

Open
Note-Liu opened this issue Nov 16, 2021 · 1 comment
Open

IndexError: list index out of range #31

Note-Liu opened this issue Nov 16, 2021 · 1 comment

Comments

@Note-Liu
Copy link

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?

@sandeepy1
Copy link

Hello, If you have managed to solve it please tell.

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