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

NameError: global name 'layer' is not defined #62

Open
NJUSTghw opened this issue Nov 18, 2019 · 0 comments
Open

NameError: global name 'layer' is not defined #62

NJUSTghw opened this issue Nov 18, 2019 · 0 comments

Comments

@NJUSTghw
Copy link

Quantize the kernel weight:
Traceback (most recent call last):
File "caffe-int8-convert-tool-dev.py", line 575, in
main()
File "caffe-int8-convert-tool-dev.py", line 561, in main
weight_quantize(net, net_file, group_on)
File "caffe-int8-convert-tool-dev.py", line 386, in weight_quantize
kernel_size = layer.convolution_param.kernel_size[0]
NameError: global name 'layer' is not defined

how to address this question? please

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

1 participant