Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jnboehm committed Jan 2, 2024
1 parent 110bec1 commit f17d1d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tsimcne/tsimcne.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,8 @@ def transform(
elif not return_labels and return_backbone_feat:
return Y, backbone_features
elif return_labels and not return_backbone_feat:
# XXX: this for some reason changes the labels; but I
# don't know what causes this!
labels = torch.hstack([lbl for _, lbl in loader])
return Y, labels
else:
Expand Down

0 comments on commit f17d1d0

Please sign in to comment.