From c740d3a0759bca76fc5818fe37ffde3af9430c85 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 31 Aug 2023 16:47:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- nobrainer/processing/segmentation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nobrainer/processing/segmentation.py b/nobrainer/processing/segmentation.py index 9869ff42..480f146c 100644 --- a/nobrainer/processing/segmentation.py +++ b/nobrainer/processing/segmentation.py @@ -89,10 +89,10 @@ def _compile(): dataset_train.dataset, epochs=epochs, steps_per_epoch=dataset_train.get_steps_per_epoch(), - validation_data=dataset_validate.dataset if dataset_validate - else None, + validation_data=dataset_validate.dataset if dataset_validate else None, validation_steps=dataset_validate.get_steps_per_epoch() - if dataset_validate else None, + if dataset_validate + else None, callbacks=callbacks, )