kaushikjadhav01 / Deep-Surveillance-Monitor-Facial-Emotion-Age-Gender-Recognition-System

Computer Vision module for detecting emotion, age and gender of a person in any given image, video or real time webcam. A custom VGG16 model was developed and trained on open source facial datasets downloaded from Kaggle and IMDB. OpenCV,dlib & keras were used to aid facial detection and video processing. The final system can detect the emotion, age and gender of people in any given image, video or real time webcam
MIT License
113 stars 36 forks source link

error ImportError: `load_model` requires h5py in jupyter notebook #1

Open kmistry0701 opened 1 year ago

kmistry0701 commented 1 year ago

I am using latest version of Anaconda Navigator and created a new environment with python=3.7. Installed the required libraries and packages, but when loading the model it gives error. I have also installed h5py and libhdf5 error

kmistry0701 commented 1 year ago

Please mention the versions required in "requirement.txt"

sahit1011 commented 6 months ago

classifier = load_model('./model/emotion_little_vgg_2.h5') For this line of code I'm getting a ValueError saying ValueError: Kernel shape must have the same length as input, but received kernel of shape (3, 3, 1, 32) and input of shape (None, None, 48, 48, 1). Please help me with this error !!!