CNNGestureRecognizer
CNNGestureRecognizer copied to clipboard
GestureCNN.py file was outdated
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**