Skip to content

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

Open
@NJUSTghw

Description

@NJUSTghw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions