Skip to content

Commit 65a52aa

Browse files
committed
Fixed broken inference
1 parent 0264086 commit 65a52aa

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/weathergen/train/trainer.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,8 @@ def inference(self, cf, devices, run_id_contd, mini_epoch_contd):
157157
# only one needed since we only run the validation code path
158158
self.dataset = MultiStreamDataSampler(
159159
cf,
160-
cf.start_date_val,
161-
cf.end_date_val,
162-
self.test_config,
163-
cf.batch_size_validation_per_gpu,
164-
cf.samples_per_validation,
160+
self.test_cfg,
165161
stage=VAL,
166-
shuffle=cf.shuffle,
167162
)
168163
self.dataset_val = self.dataset
169164

0 commit comments

Comments
 (0)