You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I work through the .py files in Machine-Learning-Collection/tree/master/ML/Pytorch/Basics,
I noticed that most of them, when creating the test_loader, the shuffle parameter is set to true. train_loader = DataLoader(dataset=train_dataset, batch_size=batch_size, shuffle=True)
test_loader = DataLoader(dataset=test_dataset, batch_size=batch_size, shuffle=True)
But for the test_loader, it is generally better not to use shuffle=True.
Not shuffling the test data makes it easier to track and understand the model's performance.
For instance, if you are reviewing predictions for specific samples, a fixed order allows you to locate these samples more conveniently.
Thank you for your amazing job, really learnt a lot from this repo.
The text was updated successfully, but these errors were encountered:
As I work through the .py files in Machine-Learning-Collection/tree/master/ML/Pytorch/Basics,
I noticed that most of them, when creating the test_loader, the shuffle parameter is set to true.
train_loader = DataLoader(dataset=train_dataset, batch_size=batch_size, shuffle=True)
test_loader = DataLoader(dataset=test_dataset, batch_size=batch_size, shuffle=True)
But for the test_loader, it is generally better not to use shuffle=True.
Not shuffling the test data makes it easier to track and understand the model's performance.
For instance, if you are reviewing predictions for specific samples, a fixed order allows you to locate these samples more conveniently.
Thank you for your amazing job, really learnt a lot from this repo.
The text was updated successfully, but these errors were encountered: