Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
f9e196a
1
Parent(s):
453434f
Update model.py
Browse files- src/models/model.py +4 -0
src/models/model.py
CHANGED
@@ -127,3 +127,7 @@ class PLDataModule(LightningDataModule):
|
|
127 |
)
|
128 |
|
129 |
def train_dataloader(self):
|
|
|
|
|
|
|
|
|
|
127 |
)
|
128 |
|
129 |
def train_dataloader(self):
|
130 |
+
""" training dataloader """
|
131 |
+
return DataLoader(
|
132 |
+
self.train_dataset, batch_size=self.batch_size, shuffle=True, num_workers=2
|
133 |
+
)
|