Skip to content

Is 'normalized' classifier necessary? #9

Open

Description

@dydxdt

Thanks for your code. I just wonder the reason why we need to normalize the 'classifier' before the 'flatten' op. Does it perform bettern than that without normalizing?
Thank you for your explanation.

Activity

  1. dydxdt commented on Oct 31, 2021

    @dydxdt
    Author

    Now I use tensoflow and try to find how to get the 'self.head.weight' in tensorflow. Or I have misunderstood and make it complex? Thank you for your reply.

  2. Kevinz-code commented on Oct 31, 2021

    @Kevinz-code
    Owner

    Hi, thanks for reading.

    1. We use "Normalization" because it could lead to faster convergence (less training time) in our experiment, but it usually has no impact on the final performance (see Table 8 in our paper).

    2. Actually I'm not familiar with Tensorflow, you can find some instructions in its official website.

    Best,
    Ke Zhu

  3. dydxdt commented on Oct 31, 2021

    @dydxdt
    Author

    Ok, I see. Thank you very much. Why don't you just use the normalization like batch norm or group norm? I'm not sure why you use the normalization method in your code. Can you give some explanation~~~

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