Gagan Bhatia commited on
Commit
a1bbdbc
·
1 Parent(s): 30f6bdb

Update model.py

Browse files
Files changed (1) hide show
  1. 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, batch_size=self.batch_size, shuffle=True, num_workers=self.num_workers
 
 
 
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):