Skip to content

GestureCNN.py file was outdated #94

@yo-carthy

Description

@yo-carthy

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**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions