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 Mar 18, 2024
1 parent fade03c commit c9fa1f3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions nobrainer/io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Input/output methods."""

import csv
import functools
import multiprocessing
Expand Down
1 change: 1 addition & 0 deletions nobrainer/models/autoencoder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Model definition for Autoencoder.
"""

import math

from tensorflow.keras import layers, models
Expand Down
1 change: 1 addition & 0 deletions nobrainer/models/dcgan.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Model definition for DCGAN.
"""

import math

from tensorflow.keras import layers, models
Expand Down
1 change: 1 addition & 0 deletions nobrainer/models/progressiveae.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Model definition for ProgressiveAE.
"""

import tensorflow as tf
from tensorflow.keras import layers, models

Expand Down
6 changes: 3 additions & 3 deletions nobrainer/processing/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def _compile():
epochs=epochs,
steps_per_epoch=dataset_train.get_steps_per_epoch(),
validation_data=dataset_validate.dataset if dataset_validate else None,
validation_steps=dataset_validate.get_steps_per_epoch()
if dataset_validate
else None,
validation_steps=(
dataset_validate.get_steps_per_epoch() if dataset_validate else None
),
callbacks=callbacks,
)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
To install, run `python3 setup.py install`.
"""

import os
import sys

Expand Down

0 comments on commit c9fa1f3

Please sign in to comment.