Skip to content

Commit

Permalink
Merge pull request #113 from juglab/fix_import
Browse files Browse the repository at this point in the history
Fix import
  • Loading branch information
tibuch authored Sep 6, 2021
2 parents ed31748 + b0822c4 commit c059e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion n2v/models/n2v_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def prepare_for_training(self, optimizer=None, **kwargs):
TensorBoard(log_dir=str(self.logdir / 'logs'), write_graph=False, profile_batch=0))

if self.config.train_reduce_lr is not None:
from keras.callbacks import ReduceLROnPlateau
from tensorflow.keras.callbacks import ReduceLROnPlateau
rlrop_params = self.config.train_reduce_lr
if 'verbose' not in rlrop_params:
rlrop_params['verbose'] = True
Expand Down
2 changes: 1 addition & 1 deletion n2v/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.3.0'
__version__ = '0.3.1'

0 comments on commit c059e9e

Please sign in to comment.