Giter VIP home page Giter VIP logo

age-and-gender-classification's People

Contributors

eveningglow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

age-and-gender-classification's Issues

Assertion failed!!!

Hi sir!
When I run the "age-and-gender-classification" it's terminated with the following error message:

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(3.4.5) /home/bahman/3rd/opencv-3.4.5/modules/core/src/copy.cpp:254: error: (-215:Assertion failed) channels() == CV_MAT_CN(dtype) in function 'copyTo'

Press to close this window...

What can be the solution to this issue?

My environment:

  • OS Ubuntu 16
  • OpenCV 3.4.5
  • Caffe is installed correctly
  • Models are correctly uploaded

P.S. I had to define the followings in order to be able to successfully compile the code:

DEFINES += CPU_ONLY \
           OPENCV_TRAITS_ENABLE_DEPRECATED

exe Time

can you provide accuracy and speed of caffe model? or any info about your models

how to train the data?

Hi eveningglow,
could tell me which model did use in this project?or how to train the data?

how to use with a face detection model?

Thanks for your demo, you said if I want to analysis every person's gender and age at one image, I should use a face detection network to extract every person's face firstly, so I can use mtcnn to detect face,but should I preprocess the face image before send it to your network? I mean, should I align the face image, or not? extend the face rectangle, or not? I think I should extend the face rectangle to include more parts of hair,ear and jaw, is it right?

run in VS2015 can not read the model files

@eveningglow Hi,
I run it in Vs2015 caffe cude8.0 cudnn 5.1 but it cann't ! Error like this:

WARNING: Logging before InitGoogleLogging() is written to STDERR
I0427 14:24:43.715765 3984 common.cpp:36] System entropy source not available, using fallback algorithm to generate seed instead.
[libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:1: Invalid control characters encountered in text.
[libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:10: Invalid control characters encountered in text.
[libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:11: Interpreting non ascii codepoint 177.
[libprotobuf ERROR C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\protobuf\protobuf_download-prefix\src\protobuf_download\src\google\protobuf\text_format.cc:298] Error parsing text-format caffe.NetParameter: 2:11: Message type "caffe.NetParameter" has no field named "CaffeNet".
F0427 14:24:45.963618 3984 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: gender_net.caffemodel
*** Check failure stack trace: ***

How to analysis Multi-objective?

Thanks for your demo.I want to get Multi-objective gender and age at one picture. but i have no idea
to do that,Could you give me some advices.

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.