Skip to content

Commit

Permalink
[Bug] Fix typo in old byol model (unused code)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnamgyu committed Jan 4, 2022
1 parent 9f4ab92 commit 0bf0349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion methods/byol.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def forward(
assert not (self.training and x1.shape[0] == 1), 'you must have greater than 1 sample when training, due to the batchnorm in the projection layer'

if return_embedding:
return self.online_encoder(torhch.cat([x1, x2], 0), return_projection = return_projection)
return self.online_encoder(torch.cat([x1, x2], 0), return_projection = return_projection)

# image_one, image_two = self.augment1(x), self.augment2(x)

Expand Down

0 comments on commit 0bf0349

Please sign in to comment.