Comments (11)
or if you have any test imageset ? pls give it to me.
from agegenderdeeplearning.
after loading the mean file,I got a right classification.
you might need to declear this
https://github.com/BVLC/caffe/wiki/Model-Zoo#models-for-age-and-gender-classification
mention that age estimate should load the mean file too.
btw, is the gender model load the same mean file too ?
from agegenderdeeplearning.
Hi,
Yes, the gender model uses the same mean file.
Gil
from agegenderdeeplearning.
thank you for reply.
I got a bad result when using the caffemodel you give on googledrive.
this is all my code:
net_def='../models/c9e99062283c719c03de/deploy_age.prototxt'
net_mod='../models/c9e99062283c719c03de/age_net.caffemodel'
net_mean='../models/c9e99062283c719c03de/mean.binaryproto'
proto_data = open(net_mean, "rb").read()
a = caffe.io.caffe_pb2.BlobProto.FromString(proto_data)
mean = caffe.io.blobproto_to_array(a)[0]
net = caffe.Classifier(net_def,net_mod ,
image_dims=[256,256], mean=mean,
input_scale=None, raw_scale=255,
channel_swap=[2,1,0])
def work(filename):
inputs = [caffe.io.load_image(filename)]
start = time.time()
predictions = net.predict(inputs,0)
print("Done in %.2f s." % (time.time() - start))
print predictions
return predictions.argmax()
if __name__ == '__main__':
print work(sys.argv[1]);
once the man's face in the picture is smooth. then it turns to be the age belong to a child...
I want to know if there is some certain condition when using this model. like the resolution
or is this caffemodel file is not well trained yet?
this image turns to be
8-12year old.
from agegenderdeeplearning.
from agegenderdeeplearning.
oh..I miss-clicked it...
from agegenderdeeplearning.
Can you upload the image?
from agegenderdeeplearning.
Its nice of you to reply..thanks!
I got trouble to upload pictures to GitHub in China.....
as you see. the two picture is the same face. but one turns a male and one to female...
from agegenderdeeplearning.
and this is the face turned to be 8 years old..
from agegenderdeeplearning.
When I ran it on my laptop I actually got 'Male" in both of those image. I also got that the bottom face is 8 years old. The model is not perfect, but given a larger training set, you can improve it.
from agegenderdeeplearning.
the accuracy seems to be not good.So,how can I improve the accuracy?Should I change the network structure? If I just increase the number of the train set picture.will the result be better?the last question is that if I increase the nunber of the train set picture,can I continue to use caffemodel you provide to me.how can I improve the accuracy rate of the caffemodel?
from agegenderdeeplearning.
Related Issues (20)
- order of mean HOT 2
- gender recognition based on the whole body HOT 1
- Help me fix errror when i run model . HOT 2
- FiducialFaceDetector source code HOT 4
- Mean shape incompatible with input shape HOT 1
- Age group labels HOT 1
- Human Vs Animal problem HOT 5
- Unbalanced folds HOT 2
- Age Classification accuracy HOT 4
- Assertion `cur_target >= 0 && cur_target < n_classes’ failed HOT 1
- faces.tar.gz labels HOT 2
- how can someone run it on their machine HOT 1
- Problem with Running Code HOT 1
- Mean subtraction for each channel
- AttributeError: 'module' object has no attribute 'io'; a = caffe.io.caffe_pb2.BlobProto.FromString(proto_data)
- Please May I know the gender labels used
- issues
- Gender Classification Confusion Matrix
- Issue during predictions
- First Conv Layer Output Error
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 agegenderdeeplearning.