Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 31, 2023
1 parent e5f46aa commit c740d3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nobrainer/processing/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit c740d3a

Please sign in to comment.