Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
a1bbdbc
1
Parent(s):
30f6bdb
Update model.py
Browse files- src/models/model.py +4 -1
src/models/model.py
CHANGED
@@ -134,7 +134,10 @@ class PLDataModule(LightningDataModule):
|
|
134 |
def train_dataloader(self):
|
135 |
"""training dataloader"""
|
136 |
return DataLoader(
|
137 |
-
self.train_dataset,
|
|
|
|
|
|
|
138 |
)
|
139 |
|
140 |
def test_dataloader(self):
|
|
|
134 |
def train_dataloader(self):
|
135 |
"""training dataloader"""
|
136 |
return DataLoader(
|
137 |
+
self.train_dataset,
|
138 |
+
batch_size=self.batch_size,
|
139 |
+
shuffle=True,
|
140 |
+
num_workers=self.num_workers,
|
141 |
)
|
142 |
|
143 |
def test_dataloader(self):
|