Skip to content

Commit

Permalink
new release
Browse files Browse the repository at this point in the history
  • Loading branch information
stared committed Mar 22, 2018
1 parent 8abe5f4 commit fb20506
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion livelossplot/keras_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ def on_train_begin(self, logs={}):
else:
# the most typical scenario
losses = [self.model.loss]

for loss in losses:
loss_name = loss2name(loss)
# better support for multiple loss functions...
self.metric2printable['loss'] = self.metric2printable.get(loss_name, loss_name) + " (cost function)"

self.max_epoch = self.params['epochs'] if not self.dynamic_x_axis else None
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='livelossplot',
version='0.1.2',
version='0.1.3',
install_requires=['matplotlib', 'notebook'],
description='Live training loss plot in Jupyter Notebook for Keras, PyTorch and others.',
url='https://github.com/stared/livelossplot',
Expand Down

0 comments on commit fb20506

Please sign in to comment.