Skip to content

forward() does not recognize own class attributes #7

Description

@afonso-sousa

Hello. First of all, congratulation on your work. I would like to reproduce your work but I am facing a strange problem. When trying to use your DSQConv layer, I get the following error:
"torch.nn.modules.module.ModuleAttributeError: 'DSQConv' object has no attribute 'running_lw'"
Changing register_buffer for simple attribute assignment did not fix it. Can you reproduce the problem or help me in any way?

I would also like to ask you how can I store the models in an encoded way to compare the storage savings of lower bit range solutions.

Thank you in advance.

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