Comments (9)
I used Keras 2.0.4 and Tensorflow 1.1.0.
I tried to reproduce your problem without success. It seems that the problem might come from Keras itself. The model version doesn't match with the Keras version you use.
Please, try this:
pip install --upgrade tensorflow
pip install --upgrade keras
After, can you post a comment to confirm (or not) that this solution worked fine (in order to help others that might encounter the same problem in the futur) ?
If you like you like this project, feel free to leave a star. (it is my only reward ^^)
from gender-age-classification.
@OValery16
Currently I use following versions. It is latest version. hmm, I will try same versions that you mentioned.
Keras 2.1.3 <pip>
tensorflow-gpu 1.5.0 <pip>
Python version is 3.x?
I gave a star. :)
from gender-age-classification.
I encounter the same problem with windows 7
from gender-age-classification.
I am gonna check that, and I will come back to you (I did all my work on Ubuntu ^^)
from gender-age-classification.
same problem with windows 10
from gender-age-classification.
I upgraded to tensorflow-gpu 1.8.0 on Windows 10 and still am getting this error.
from gender-age-classification.
It work with python 2.7 in ubuntu, it cannot work in python 3.x
from gender-age-classification.
It just a modal to reg face in image, you can use another CNN (dlib, ....) or use open_cv instead of it.
from gender-age-classification.
Sorry for the late reply. I got really busy recently.
Thanks AlexBlack2202 for your comments. I will react with few points:
-
As AlexBlack2202 mentioned it, the project was implemented on Ubuntu with python 2.7. I used Keras 2.0.4 and Tensorflow 1.1.0. I am not quite sure, but it seems that there is a version incompatibility. Please check:
https://stackoverflow.com/questions/45624414/python-keras-compatibility-between-windows-and-linux -
In this project we stack two CNN: (1) for the face recognition, (2) for the age/gender identification. For the first part (as AlexBlack2202 mentioned it) you can also us other computer vision library such as OpenCV (OpenCV implementation is based on HOG). However if you want to do face recognition in real time (for example in a video), you cannot use these approaches which would be slow. Instead you can use YOLO model (used in this project), which is much fast.
If you like you like this project, feel free to leave a star. (it is my only reward ^^)
from gender-age-classification.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gender-age-classification.