How to use the livelossplot.generic_keras._PlotLossesCallback function in livelossplot

To help you get started, we’ve selected a few livelossplot examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stared / livelossplot / livelossplot / keras.py View on Github external
from __future__ import absolute_import

import keras
from .generic_keras import _PlotLossesCallback

class PlotLossesCallback(_PlotLossesCallback, keras.callbacks.Callback):
    def __init__(self, **kwargs):
        keras.callbacks.Callback.__init__(self)
        _PlotLossesCallback.__init__(self, **kwargs)