Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

Indentation bug in utils.remap_pretrained_keys_vit #29

Open

Description

Currently, this code causes an error when loading a pre-trained model. I believe lines 211-212 were meant to be indented inside the if statement, as otherwise, the condition does not make sense. Indenting these lines fixed the issue for me.

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