Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #468 from NifTK/fixes-issue-454
Browse files Browse the repository at this point in the history
fixes #454
  • Loading branch information
wyli committed Dec 18, 2019
2 parents a9b30a6 + 32641e5 commit 9b12da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niftynet/engine/handler_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def update_performance_history(self, _sender, **msg):
else:
_sender.performance_history = \
_sender.performance_history[1:] + [current_loss]
except AttributeError:
except (AttributeError, KeyError):
tf.logging.warning("does not contain any performance field "
"called total loss.")

0 comments on commit 9b12da4

Please sign in to comment.