Skip to content

typo error in src/common.py #23

@mirpouya

Description

@mirpouya

Hi,

Thank you for your great work.
in the lines 66, 67 of common.py module you have:

pdf = weights / torch.sum(weights, -1, keepdim=True)
pdf = weights

in the second line you override pdf = weights / torch.sum(weights, -1, keepdim=True)
so why having the first line at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions