Skip to content

Commit

Permalink
update rxrx1 dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
sanaAyrml committed Jan 6, 2025
1 parent fccced0 commit b43f982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions research/rxrx1/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def __getitem__(self, idx: int) -> tuple[torch.Tensor, int, int]:
images.append(image)

concatenated_image = torch.cat(images, dim=0)
print(concatenated_image.shape)
return concatenated_image, label, row["sirna_id"]
return concatenated_image, label

def load_image(self, path: str) -> torch.Tensor:
if not Path(path).exists():
Expand Down

0 comments on commit b43f982

Please sign in to comment.