Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

series_fmt in custom_series notebook #49

Closed
lambdaofgod opened this issue Mar 4, 2019 · 6 comments
Closed

series_fmt in custom_series notebook #49

lambdaofgod opened this issue Mar 4, 2019 · 6 comments

Comments

@lambdaofgod
Copy link

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?

@stared
Copy link
Owner

stared commented Mar 5, 2019

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

@sebastienlange
Copy link
Contributor

@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.

@lambdaofgod
Copy link
Author

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

@sebastienlange
Copy link
Contributor

@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):
...

@stared
Copy link
Owner

stared commented Mar 6, 2019

@sebastienlange It is #51

@stared
Copy link
Owner

stared commented May 5, 2019

No updates - or confirmations - I close this issue.

@stared stared closed this as completed May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants