Skip to content

[Bug]: Potential bug in TorchRunningMeanStd #47

@dominikonysz

Description

@dominikonysz

During my debugging I came across the computation of the updated value for the running mean:

new_mean = mean + delta + batch_count / tot_count

It doesn't really influence me as I'm not using it right now but I feel like it should instead be:

new_mean = mean + delta * batch_count / tot_count 

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