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 Apr 3, 2024
1 parent 42f7d3d commit 7a954e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nobrainer/processing/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ def _compile():
num_parallel_calls=num_parallel_calls,
volume_shape=(resolution, resolution, resolution),
n_classes=1,
scalar_labels=True
scalar_labels=True,
)
n_epochs = info.get("epochs") or epochs
dataset.batch(batch_size) \
.normalize(info.get("normalizer") or normalizer) \
.repeat(n_epochs)
dataset.batch(batch_size).normalize(
info.get("normalizer") or normalizer
).repeat(n_epochs)

with self.strategy.scope():
# grow the networks by one (2^x) resolution
Expand Down

0 comments on commit 7a954e3

Please sign in to comment.