GilLevi / AgeGenderDeepLearning

628 stars 285 forks source link

Mean shape incompatible with input shape #34

Open punitagrawal32 opened 5 years ago

punitagrawal32 commented 5 years ago

Hello Gil,

Firstly, thank you for this project. This has been very helpful. :)

I have been running this bit of code:

gender_net_pretrained='./gender_net.caffemodel' gender_net_model_file='./deploy_gender.prototxt' gender_net = caffe.Classifier(gender_net_model_file, gender_net_pretrained, mean=mean, channel_swap=(2,1,0), raw_scale=255, image_dims=(256, 256))

and it throws an error saying " Mean shape incompatible with input shape".

May you please let me know why this might be happening? And a solution around this?

Thanks in advance. Regards, Punit.

GilLevi commented 5 years ago

Hello Punit,

Thank you for your interest in our work.

See related issue