-
Notifications
You must be signed in to change notification settings - Fork 354
Open
Description
When we ran the GestureCCN.py file, we faced 2 errors in the imports:
- ImportError: cannot import name 'adam' from 'keras.optimizers'
- ImportError: cannot import name np_utils
So we updated the 2 import requests to:
from keras.models import Sequential
from keras.layers import Dense, Dropout, Activation, Flatten
from keras.layers import Conv2D, MaxPooling2D, ZeroPadding2D
from keras.optimizers import SGD,RMSprop,**Adam**
from keras.utils import **to_categorical**
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels