Skip to content

GestureCNN.py file was outdated #94

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

Open
yo-carthy opened this issue Oct 12, 2023 · 0 comments
Open

GestureCNN.py file was outdated #94

yo-carthy opened this issue Oct 12, 2023 · 0 comments

Comments

@yo-carthy
Copy link

When we ran the GestureCCN.py file, we faced 2 errors in the imports:

  1. ImportError: cannot import name 'adam' from 'keras.optimizers'
  2. 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**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant