Skip to content

SimSiam batchnorm dimension mismatch #58

Description

@jsjung00

In class projection_MLP(nn.Module), the third layer has a dimension mismatch.

self.layer3 = nn.Sequential( nn.Linear(hidden_dim, out_dim), nn.BatchNorm1d(hidden_dim) )

This works with the default parameter values since hidden_dim == out_dim, but this breaks when the out_dim is changed.

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