Skip to content

Nan (or inf) is occured during training #4

Description

@CharlesTao0926

@ricky40403
Thanks for your hard and great work.
I copied the DSQConv.py into my project and used DSQConv instead of nn.conv2d except the first and the last layers. However during the training process, after several iterations I found that the value of alphaW is less than zero. It further caused the value of k is Nna. I used 0.5 as initial value of alphaW and set the initial learning rate to 0.001.
Would you please tell me the possible reasons of the above problem?
Thank you very much.

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