Skip to content

Commit

Permalink
fix: use correct transforms when building val & test sets
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelH committed Jan 29, 2024
1 parent 67f09a6 commit 4309ecb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1397,8 +1397,8 @@ def _build_datasets(self,
validation, and test datasets.
"""
train_ds = self._build_dataset('train', train_tf, tmp_dir, **kwargs)
val_ds = self._build_dataset('valid', train_tf, tmp_dir, **kwargs)
test_ds = self._build_dataset('test', train_tf, tmp_dir, **kwargs)
val_ds = self._build_dataset('valid', val_tf, tmp_dir, **kwargs)
test_ds = self._build_dataset('test', test_tf, tmp_dir, **kwargs)
return train_ds, val_ds, test_ds

def scene_to_dataset(self,
Expand Down

0 comments on commit 4309ecb

Please sign in to comment.