Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def PlotLossesPoutyne(*args, **kwargs):
warnings.warn("From v0.3 onwards, use:\nfrom livelossplot.poutyne import PlotLossesCallback", DeprecationWarning)
from .poutyne import PlotLossesCallback
return PlotLossesCallback(*args, **kwargs)
def __init__(self, **kwargs):
super(PlotLossesCallback, self).__init__()
self.liveplot = PlotLosses(**kwargs)
self.metrics = None