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

Cannot convert spp model by darknet2Caffe #12

Open
stereomatchingkiss opened this issue Jul 28, 2020 · 2 comments
Open

Cannot convert spp model by darknet2Caffe #12

stereomatchingkiss opened this issue Jul 28, 2020 · 2 comments

Comments

@stereomatchingkiss
Copy link

OS : ubuntu18.04

Follow the instructions, install and build the caffe, able to convert nano, lite, the error messages are

Traceback (most recent call last):
  File "darknet2caffe.py", line 443, in <module>
    darknet2caffe(cfgfile, weightfile, protofile, caffemodel)
  File "darknet2caffe.py", line 8, in darknet2caffe
    net_info = cfg2prototxt(cfgfile)
  File "darknet2caffe.py", line 309, in cfg2prototxt
    bottom2 = topnames[prev_layer_id2]
KeyError: 126

@dog-qiuqiu
Copy link
Owner

dog-qiuqiu commented Jul 28, 2020

你是否修改过模型的cfg,是否直接转我提供的模型报的错吗?

@stereomatchingkiss
Copy link
Author

你是否修改过模型的cfg,是否直接转我提供的模型报的错吗?

是的,直接转换,没有修改过cfg

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