Thanks to visit codestin.com Credit goes to github.com
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 60bf138 commit 3e57431Copy full SHA for 3e57431
09_dataloader.py
@@ -58,6 +58,7 @@ def __len__(self):
58
# Load whole dataset with DataLoader
59
# shuffle: shuffle data, good for training
60
# num_workers: faster loading with multiple subprocesses
61
+# !!! IF YOU GET AN ERROR DURING LOADING, SET num_workers TO 0 !!!
62
train_loader = DataLoader(dataset=dataset,
63
batch_size=4,
64
shuffle=True,
0 commit comments