-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
LiveLossPlot: ModuleNotFoundError: No module named 'neptune' #51
Comments
I'm using the tf.keras version and getting the same error:
|
@khalido @bobloki Thanks for reporting. It should not require neptune (after #47 it required, but I fixed that with 7876f06; as the general philosophy is to avoid ML packages). I spotted an unintentional import, fixed with 090eb51. Installing from git should solve it. Version |
@stared thank you for addressing this. I have been having this same issue. I did try re-installing livelossplot from git, but unfortunately am still receiving this same error, even after re-starting jupyter. I will continue to search for the issue, but please do let me know if you come across anything else. |
@collinp-spindance Stange. |
# to plot live loss function
from livelossplot.keras import PlotLossesCallback
plot_losses = PlotLossesCallback()
|
@collinp-spindance THen it is NOT the latest version from GitHub (though, it may be the last from PyPI). |
@stared Hmm. I used |
Same problem, I'm using pip install git+git://github.com/stared/livelossplot.git@651f1be to just get the latest commit before the neptune integration was introduced |
I did test it locally, and it produces no errors. Are you sure you uninstalled livelossplot before installing it from git? (Since there it is the same version, pip may not recognize that the code is different.) Regardless, I will make an update shortly. |
Indeed uninstall before install the specific commit from git solves the problem |
Published |
@stared Re-installed from PyPi and it is working great for me now. Thank you very much! |
from livelossplot.keras import PlotLossesCallback
callbacks_list = [PlotLossesCallback()]
ModuleNotFoundError Traceback (most recent call last)
in
4 checkpoint = ModelCheckpoint("C:\home\jupyter\experiments\models",
5 monitor='acc', verbose=1, save_best_only=True, mode='max')
----> 6 callbacks_list = [checkpoint, PlotLossesCallback()]
~\AppData\Local\conda\conda\envs\tesseract\lib\site-packages\livelossplot\keras.py in init(self, **kwargs)
7 def init(self, **kwargs):
8 keras.callbacks.Callback.init(self)
----> 9 _PlotLossesCallback.init(self, **kwargs)
~\AppData\Local\conda\conda\envs\tesseract\lib\site-packages\livelossplot\generic_keras.py in init(self, **kwargs)
26 class _PlotLossesCallback():
27 def init(self, **kwargs):
---> 28 self.liveplot = PlotLosses(**kwargs)
29
30 def on_train_begin(self, logs={}):
~\AppData\Local\conda\conda\envs\tesseract\lib\site-packages\livelossplot\generic_plot.py in init(self, figsize, cell_size, dynamic_x_axis, max_cols, max_epoch, metric2title, series_fmt, validation_fmt, plot_extrema, fig_path, target)
37 self.plot_extrema = plot_extrema
38 self.target = target
---> 39 from .neptune_integration import neptune_send_plot
40 self.fig_path = fig_path
41
~\AppData\Local\conda\conda\envs\tesseract\lib\site-packages\livelossplot\neptune_integration.py in
----> 1 import neptune
2
3 ctx = neptune.Context()
4
5
ModuleNotFoundError: No module named 'neptune'
The text was updated successfully, but these errors were encountered: