Skip to content

Commit

Permalink
Fix validation dataset definition, removed unused test_dataset
Browse files Browse the repository at this point in the history
Explaination see in: #11
  • Loading branch information
SaoYear committed May 8, 2024
1 parent 0ac8073 commit d82405c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train/train_stage2.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def single_run(
batch_sizes = config["training"]["batch_size"]
samplers = [torch.utils.data.RandomSampler(x) for x in tot_train_data]
batch_sampler = ConcatDatasetBatchSampler(samplers, batch_sizes)
valid_dataset = torch.utils.data.ConcatDataset([weak_val, synth_val, strong_val, test_dataset])
valid_dataset = torch.utils.data.ConcatDataset([weak_val, synth_val, strong_val])

##### training params and optimizers ############
epoch_len = min(
Expand Down

0 comments on commit d82405c

Please sign in to comment.