stared/livelossplot

series_fmt in custom_series notebook

lambdaofgod opened this issue · 6 comments

The example from custom_series notebook doesn't work:

TypeError: init() got an unexpected keyword argument 'series_fmt'

Was series_fmt parameter in an older version?

It was introduced in #46. @sebastienlange, could you look at it?

@lambdaofgod, it looks like jupyter notebook has a different version of livelossplot in memory.
Could you try restarting your jupyter notebook?

@stared I just downloaded a fresh livelossplot and tried custom_series notebook and minimal.
Both gave me the same different error and I had to install neptune-cli. Is it normal?
Then both worked for me.

@sebastienlange yes I did try restarting notebook. I also made sure that I actually had newest version of livelossplot.

@lambdaofgod on my computer, after installation, PlotLosses class is located at C:\Users\lange\Anaconda3\Lib\site-packages\livelossplot\generic_plot.py.
Could you try to located the same file on your configuration and share the init def ?

Should be:
def __init__(self,
figsize=None,
cell_size=(6, 4),
dynamic_x_axis=False,
max_cols=2,
max_epoch=None,
metric2title={},
series_fmt={'training': '{}', 'validation':'val_{}'},
validation_fmt="val_{}",
plot_extrema=True,
fig_path=None,
target=MATPLOTLIB_TARGET):
...

No updates - or confirmations - I close this issue.