[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-01-26 16:41:22 +00:00
parent 9115df2895
commit 2be7442dd5
9 changed files with 26 additions and 48 deletions

View file

@ -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)