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

无法访问 conv_param[0].data #21

Open
jinqi2376 opened this issue Aug 5, 2020 · 1 comment
Open

无法访问 conv_param[0].data #21

jinqi2376 opened this issue Aug 5, 2020 · 1 comment

Comments

@jinqi2376
Copy link

jinqi2376 commented Aug 5, 2020

你好,错误报告如下:
File "darknet2caffe.py", line 128, in load_conv_bn2caffe
conv_weight = conv_param[0].data
TypeError: Invalid index type

我自己测试了一下,
net.params['layer1-conv'] 返回一个BolbVec Object,但是无法通过索引[0].data/[1].data 访问其weight和bias
具体是哪里出问题了呢

@qxl-github
Copy link

请问这个问题解决了吗?我现在也遇到了这个问题!

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