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

self.debug does not exist #14

Open
LiyouZhou opened this issue Jul 9, 2020 · 4 comments
Open

self.debug does not exist #14

LiyouZhou opened this issue Jul 9, 2020 · 4 comments

Comments

@LiyouZhou
Copy link

https://github.com/htshinichi/caffe-onnx/blob/master/src/caffe2onnx.py#L481

run into an issue here that self.debug does not exist in the class.

@ucalyptus
Copy link

@LiyouZhou @htshinichi same issue here.

@ucalyptus
Copy link

@LiyouZhou I also tried removing the if else statement,
But that gave me this
添加参数upsample_16_W输入信息和tensor数据
添加参数upsample_16_b输入信息和tensor数据
upsample_16 节点构建完成
Failed at layer concat, 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 "/content/caffe-onnx/src/caffe2onnx.py", line 28, in init
self.__getNodeList(LayerList)
File "/content/caffe-onnx/src/caffe2onnx.py", line 395, in __getNodeList
Concat_node = op.createConcat(Layers[i], nodename, inname, outname, input_shape)
File "/content/caffe-onnx/src/OPs/Concat.py", line 21, in createConcat
output_shape = getConcatOutShape(input_shape)
File "/content/caffe-onnx/src/OPs/Concat.py", line 12, in getConcatOutShape
n,c,w,h = input_shape[0][0],0,input_shape[0][2],input_shape[0][3]
IndexError: list index out of range

@LiyouZhou
Copy link
Author

@ucalyptus
Copy link

@LiyouZhou did, some other issue crept up.

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