Skip to content
Snippets Groups Projects

Unify verbosity behaviour of GradientNormController

Closed Philipp Arras requested to merge verbosityOfGradientNormController into NIFTy_4
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -121,7 +121,7 @@ class GradientNormController(IterationController):
@@ -121,7 +121,7 @@ class GradientNormController(IterationController):
# Are we done?
# Are we done?
if self._iteration_limit is not None:
if self._iteration_limit is not None:
if self._itcount >= self._iteration_limit:
if self._itcount >= self._iteration_limit and self._name is not None:
dobj.mprint(
dobj.mprint(
"Warning:Iteration limit reached. Assuming convergence")
"Warning:Iteration limit reached. Assuming convergence")
return self.CONVERGED
return self.CONVERGED
Loading