We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbba45 commit a251459Copy full SHA for a251459
pina/trainer.py
@@ -56,7 +56,7 @@ def __init__(
56
:param pin_memory: Whether to use pinned memory for faster data
57
transfer to GPU. Default False.
58
:type pin_memory: bool
59
- :param shuffle: Whether to shuffle the data for training. Default False.
+ :param shuffle: Whether to shuffle the data for training. Default True.
60
61
62
:Keyword Arguments:
@@ -85,7 +85,7 @@ def __init__(
85
if shuffle is not None:
86
check_consistency(shuffle, bool)
87
else:
88
- shuffle = False
+ shuffle = True
89
if train_size + test_size + val_size + predict_size > 1:
90
raise ValueError(
91
"train_size, test_size, val_size and predict_size "
0 commit comments