Skip to content

Commit

Permalink
getting right variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vturrisi authored Jan 8, 2024
1 parent 882854a commit 140c8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solo/methods/all4one.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def training_step(self, batch: Sequence[Any], batch_idx: int) -> torch.Tensor:
out = super().training_step(batch, batch_idx)
class_loss = out["loss"]
feats1, feats2 = out["feats"]
momentum_z1, momentum_z2 = out["momentum_feats"]
momentum_z1, momentum_z2 = out["momentum_z"]

z1 = self.projector(feats1)
z2 = self.projector(feats2)
Expand Down

0 comments on commit 140c8be

Please sign in to comment.