Open punitagrawal32 opened 6 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.
Hello Punit,
Thank you for your interest in our work.
See related issue
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.