Skip to content

Commit

Permalink
Merge pull request #9 from danielzuegner/main
Browse files Browse the repository at this point in the history
Fix bug in lattice scaler assignment of test datasets.
  • Loading branch information
txie-93 authored Apr 20, 2022
2 parents 76960ae + dd24523 commit f857f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdvae/pl_data/datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def setup(self, stage: Optional[str] = None):
for dataset_cfg in self.datasets.test
]
for test_dataset in self.test_datasets:
test_dataset.lattice_scaler = self.scaler
test_dataset.lattice_scaler = self.lattice_scaler
test_dataset.scaler = self.scaler

def train_dataloader(self) -> DataLoader:
Expand Down

0 comments on commit f857f59

Please sign in to comment.