Skip to content

MLP Dimension on ResNet Module #71

Description

@viniavena

Hi there, in the models/resnet_simclr.py we have the following:

dim_mlp = self.backbone.fc.in_features
self.backbone.fc = nn.Sequential(nn.Linear(dim_mlp, dim_mlp), nn.ReLU(), self.backbone.fc)

Shouldn't the Linear be: dim_mlp, 128

Threfore we get the 128 dimension hidden vector used on the paper.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions