Skip to content

Commit

Permalink
extra_args not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Mar 15, 2024
1 parent dc0cb89 commit f690d8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions torchgeo/datamodules/agrifieldnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import kornia.augmentation as K
import torch
from kornia.constants import DataKey, Resample

from ..datasets import AgriFieldNet, random_bbox_assignment
from ..samplers import GridGeoSampler, RandomBatchGeoSampler
Expand Down Expand Up @@ -55,9 +54,6 @@ def __init__(
K.RandomVerticalFlip(p=0.5),
K.RandomHorizontalFlip(p=0.5),
data_keys=["image", "mask"],
extra_args={
DataKey.MASK: {"resample": Resample.NEAREST, "align_corners": None}
},
)

def setup(self, stage: str) -> None:
Expand Down

0 comments on commit f690d8b

Please sign in to comment.