Giter VIP home page Giter VIP logo

Comments (9)

OValery16 avatar OValery16 commented on May 28, 2024

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.

wkdhkr avatar wkdhkr commented on May 28, 2024

@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.

jeanbverroken avatar jeanbverroken commented on May 28, 2024

I encounter the same problem with windows 7

from gender-age-classification.

OValery16 avatar OValery16 commented on May 28, 2024

I am gonna check that, and I will come back to you (I did all my work on Ubuntu ^^)

from gender-age-classification.

eviling avatar eviling commented on May 28, 2024

same problem with windows 10

from gender-age-classification.

xjdeng avatar xjdeng commented on May 28, 2024

I upgraded to tensorflow-gpu 1.8.0 on Windows 10 and still am getting this error.

from gender-age-classification.

AlexBlack2202 avatar AlexBlack2202 commented on May 28, 2024

It work with python 2.7 in ubuntu, it cannot work in python 3.x

from gender-age-classification.

AlexBlack2202 avatar AlexBlack2202 commented on May 28, 2024

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.

OValery16 avatar OValery16 commented on May 28, 2024

Sorry for the late reply. I got really busy recently.

Thanks AlexBlack2202 for your comments. I will react with few points:

  1. 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

  2. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.