Skip to content

Commit

Permalink
Merge branch 'narval-migration' of https://github.com/mwalmsley/zoobot
Browse files Browse the repository at this point in the history
…into narval-migration
  • Loading branch information
mwalmsley committed Jan 8, 2024
2 parents 32c4f8b + 862ee37 commit 7db406c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zoobot/pytorch/datasets/webdatamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def make_loader(self, urls, mode="train"):
dataset = dataset.shuffle(shuffle)

# dataset = dataset.decode("rgb") # np.array, for albumentations
dataset = dataset.decode("pilrgb") # PIL Image, for torchvision
dataset = dataset.decode("torchrgb") # tensor, for torchvision

if mode == 'predict':
if self.label_cols != ['id_str']:
Expand Down

0 comments on commit 7db406c

Please sign in to comment.