Skip to content

Commit

Permalink
Inria datamodule: needs augs during test stage too
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Jan 24, 2023
1 parent f267766 commit 671737f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datamodules/inria.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(
_RandomNCrop(self.patch_size, batch_size),
data_keys=["image", "mask"],
)
self.val_aug = AugmentationSequential(
self.aug = AugmentationSequential(
K.Normalize(mean=self.mean, std=self.std),
_RandomNCrop(self.patch_size, batch_size),
data_keys=["image", "mask"],
Expand Down

0 comments on commit 671737f

Please sign in to comment.