Skip to content

Some problems about vision transformer #16

Open

Description

@sure7018

Hello, by combining the code and your paper, I have the following questions(about vit_ csra):

In the code, the class token is not used in the input of the last CSRA module, so why set the class token in the code in "VIT_CSRA".
Has the last MLP head used for classification in the vision transformer been deleted directly?

Activity

  1. Kevinz-code commented on Dec 25, 2021

    @Kevinz-code
    Owner

    Hi, thanks for reproducing our paper.

    "why set the class token in the code in "VIT_CSRA" ": setting class token at the beginning is the original structure of VIT, which is not in the range of our modification. What we do is to fit CSRA into the VIT models (e.g. use all the final patch embeddings instead of the final one single class token).

    "Has the last MLP head used for classification in the vision transformer been deleted directly?", Yes. We use our CSRA module instead the original classification head.

    Best,
    Authors.

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