Skip to content

Commit

Permalink
fix initial crop size
Browse files Browse the repository at this point in the history
  • Loading branch information
ziw-liu committed Jul 31, 2024
1 parent a2c25b6 commit ddeacb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viscy/data/triplet.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _setup_fit(self, dataset_settings: dict):
self.train_dataset = TripletDataset(
positions=positions,
tracks_tables=tracks_tables,
initial_yx_patch_size=self.yx_patch_size,
initial_yx_patch_size=self.initial_yx_patch_size,
anchor_transform=no_aug_transform,
positive_transform=augment_transform,
negative_transform=augment_transform,
Expand All @@ -264,7 +264,7 @@ def _setup_predict(self, dataset_settings: dict):
self.predict_dataset = TripletDataset(
positions=positions,
tracks_tables=tracks_tables,
initial_yx_patch_size=self.yx_patch_size,
initial_yx_patch_size=self.initial_yx_patch_size,
anchor_transform=Compose(self.normalizations),
fit=False,
**dataset_settings,
Expand Down

0 comments on commit ddeacb8

Please sign in to comment.