Datasets:
Commit
·
6f488e6
1
Parent(s):
edbba0c
Update README
Browse files
README.md
CHANGED
|
@@ -52,9 +52,9 @@ def load_datasets():
|
|
| 52 |
# test = test.with_format("torch")
|
| 53 |
# validation = validation.with_format(validation)
|
| 54 |
|
| 55 |
-
torch.utils.data.ConcatDataset([train, test])
|
| 56 |
-
|
| 57 |
-
return
|
| 58 |
|
| 59 |
```
|
| 60 |
|
|
|
|
| 52 |
# test = test.with_format("torch")
|
| 53 |
# validation = validation.with_format(validation)
|
| 54 |
|
| 55 |
+
# dataset = torch.utils.data.ConcatDataset([train, validation, test])
|
| 56 |
+
# dataloader = DataLoader(dataset, batch_size=BATCH_SIZE, shuffle=True, drop_last=True)
|
| 57 |
+
# return dataloader
|
| 58 |
|
| 59 |
```
|
| 60 |
|