harshbg / Sign-Language-Interpreter-using-Deep-Learning

A sign language interpreter using live video feed from the camera.
MIT License
537 stars 219 forks source link

No module named 'keras.layers.convolutional' #20

Open Tito8184 opened 6 months ago

Tito8184 commented 6 months ago

when i try to run cnn_model_train.py, it throws error "ModuleNotFoundError: No module named 'keras.layers.convolutional'", despite of installing all required libraries

bhavin108 commented 3 months ago

No module named 'keras.layers.convolutional'
Getting this error. please help to solve

ModuleNotFoundError Traceback (most recent call last) Cell In[2], line 3 1 import tensorflow as tf 2 from keras.models import Sequential ----> 3 from keras.layers.convolutional import Conv2D, MaxPooling2D 4 from keras.layers.core import Flatten, Dense, Dropout 5 from keras.callbacks import EarlyStopping

ModuleNotFoundError: No module named 'keras.layers.convolutional'

yhetman commented 1 month ago

Replace from keras.layers.convolutional import Conv2D, MaxPooling2D with from keras.layers import Conv2D, MaxPool2D