Skip to content

Commit

Permalink
shuffle=False for test_dataloader, see #665
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdbourke authored Oct 5, 2023
1 parent cdc0a0a commit eac3c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05_pytorch_going_modular.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def create_dataloaders(
test_dataloader = DataLoader(
test_data,
batch_size=batch_size,
shuffle=True,
shuffle=False, # don't need to shuffle test data
num_workers=num_workers,
pin_memory=True,
)
Expand Down

0 comments on commit eac3c57

Please sign in to comment.