When importing keys to jupyter, no module with model name

I recently played with Jupiter and Keras. I created a virtual machine on my machine and created a corresponding kernel to be used in Jupyter. The problem arises when I try to access keras modules. If I do this: import keras I don't get any errors, however, when I do the following:

from keras.models import Sequential

I am getting the following error:

ImportError Traceback (most recent call last)

 < ipython-input-1-8d76137599c3 > in < module >

  1 
  2 
  3 ----> from keras.models import Sequential
  4 from keras.layers import Dense, Activation
  5 from keras.utils import np_utils

ImportError: No module named models

      

if anyone had any suggestions would be great !!

thank!!

+3
jupyter-notebook keras


source to share


No one has answered this question yet

Check out similar questions:

542
Using IPython notebooks under version control
8
How do I create modules in Jupyter notebook and import them? python
2
Ipywidgets module name error
1
Keras import throws numpy exceptions
1
Failed to set fancyimpute for use in Jupyter
1
Jupyter core keeps crashing - "No module named prompt_toolkit.formatted_text"
0
How to import ipython file into jupyter notebook
0
In Jupyter Notebook NameError when I try to import a module
0
scipy.ndimage.zoom takes a long time even on small arrays
-1
Jupyter vs IPython: Matplotlib - No module named Tkinter



All Articles
Loading...
X
Show
Funny
Dev
Pics