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


source to share





All Articles