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

KeyError: '/conv2/conv2.0/gate/fc1/Conv' #23

Open
ouxiand opened this issue Jun 5, 2023 · 1 comment
Open

KeyError: '/conv2/conv2.0/gate/fc1/Conv' #23

ouxiand opened this issue Jun 5, 2023 · 1 comment

Comments

@ouxiand
Copy link

ouxiand commented Jun 5, 2023

Thank you for open source,there were bugs during use, as detailed below:

I0605 16:19:36.965795 11756 net.cpp:257] Network initialization done.
Traceback (most recent call last):
File "/home/oo/pycode/yolov5_onnx2caffe/convertCaffe.py", line 162, in
convertToCaffe(graph, prototxt_path, caffemodel_path, exis_focus=True, focus_concat_name="Concat_40", focus_conv_name="Conv_41")
File "/home/oo/pycode/yolov5_onnx2caffe/convertCaffe.py", line 130, in convertToCaffe
converter_fn(net, node, graph, err) # 复制模型参数
File "/home/oo/pycode/yolov5_onnx2caffe/onnx2caffe/_weightloader.py", line 38, in _convert_conv
np.copyto(net.params[node_name][0].data, W, casting='same_kind')
KeyError: '/conv2/conv2.0/gate/fc1/Conv'

Can you tell me how to do it?

@Paulharden1
Copy link

hi,did you solve it?Could you please tell me how to deal with it?thanks!

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