Skip to content

Error: Divided by 0. #17

@woriazzc

Description

@woriazzc

Thanks for your the implementation!

In LsqQuan.

x = x / s_scale

If s_scale contains 0, there will be Divided by 0 Error, and the training loss will become nan.
Maybe eps should be used.

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