Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philippmwirth committed Sep 11, 2023
1 parent 1cd51eb commit 222e12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightly/models/modules/heads.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def __init__(
(hidden_dim, hidden_dim, nn.BatchNorm1d(hidden_dim), nn.ReLU())
for _ in range(num_layers - 2) # Exclude first and last layer.
]
super(BarlowTwinsProjectionHead, self).__init__(
super(VICRegProjectionHead, self).__init__(

Check warning on line 720 in lightly/models/modules/heads.py

View check run for this annotation

Codecov / codecov/patch

lightly/models/modules/heads.py#L720

Added line #L720 was not covered by tests
[
(input_dim, hidden_dim, nn.BatchNorm1d(hidden_dim), nn.ReLU()),
*hidden_layers,
Expand Down

0 comments on commit 222e12e

Please sign in to comment.