Skip to content

Commit

Permalink
Crop should be 224, not 96
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Mar 27, 2023
1 parent c404e3e commit 41a10d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/trainers/simclr.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(
# Data augmentation
# https://github.com/google-research/simclr/blob/master/data_util.py
self.aug = K.AugmentationSequential(
K.RandomResizedCrop(size=(96, 96)),
K.RandomResizedCrop(size=(224, 224)),
K.RandomHorizontalFlip(),
K.RandomVerticalFlip(), # added
# Not appropriate for multispectral imagery, seasonal contrast used instead
Expand Down

0 comments on commit 41a10d2

Please sign in to comment.