mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9115df2895
commit
2be7442dd5
9 changed files with 26 additions and 48 deletions
|
|
@ -84,10 +84,8 @@ class TaskDataModule(LightningDataModule):
|
|||
if not data:
|
||||
raise NotImplementedError("Each task has its own data set")
|
||||
if not self.batch_size or self.batch_size < 1:
|
||||
raise NotImplementedError(
|
||||
"Each task configures its own batch_size. \
|
||||
Please set it explicitly, to avoid confusion."
|
||||
)
|
||||
raise NotImplementedError("Each task configures its own batch_size. \
|
||||
Please set it explicitly, to avoid confusion.")
|
||||
|
||||
def train_dataloader(self):
|
||||
self.check_dataset(self.data_train)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue