From eac3c57691056b3fa08cf309e5df42f4d32950cd Mon Sep 17 00:00:00 2001 From: Daniel Bourke Date: Thu, 5 Oct 2023 16:26:58 +1000 Subject: [PATCH] shuffle=False for test_dataloader, see #665 --- 05_pytorch_going_modular.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05_pytorch_going_modular.md b/05_pytorch_going_modular.md index 8fa38a7f..c9a17120 100644 --- a/05_pytorch_going_modular.md +++ b/05_pytorch_going_modular.md @@ -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, )