Skip to content

Commit

Permalink
fix config syntax in code
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Mar 27, 2024
1 parent dbdb98a commit f2c481f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crabs/detection_tracking/datamodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def _get_train_transform(self) -> torchvision.transforms:

if self.config["gaussian_blur"]:
gauss = transforms.GaussianBlur(
kernel_size=self.config["kernel_size"],
sigma=self.config["sigma"],
kernel_size=self.config["gaussian_blur"]["kernel_size"],
sigma=self.config["gaussian_blur"]["sigma"],
)
train_data_augm.append(gauss)

Expand Down

0 comments on commit f2c481f

Please sign in to comment.