Skip to content

Add masks when calculating the CAKLD coefficient #14

Description

@HsuWanTing

I noticed that the coefficient of CAKLD is calculated without masks. (https://github.com/DD-DuDa/BitDistiller/blob/main/train/train.py#L375)

Have you tried adding the mask to calculate the mean on the real input part only?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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