Skip to content

Commit

Permalink
fix: uniform shuffling
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoxas committed Oct 28, 2024
1 parent 5f359ee commit 7550c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main() -> None:
print("Getting data...")
batch_size = data_config.batch_size
dataset, x_shape, y_shape = prepare_dataset(task, data_config, training=True)
dataset = dataset.shuffle(5000, reshuffle_each_iteration=False)
dataset = dataset.shuffle(1000000, reshuffle_each_iteration=False)
val_len = eval_config.val_len
dataset = dataset.skip(val_len)

Expand Down

0 comments on commit 7550c89

Please sign in to comment.