Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mean shape incompatible with input shape #34

Open
punitagrawal32 opened this issue Nov 1, 2018 · 1 comment
Open

Mean shape incompatible with input shape #34

punitagrawal32 opened this issue Nov 1, 2018 · 1 comment

Comments

@punitagrawal32
Copy link

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
Copy link
Owner

GilLevi commented Nov 1, 2018

Hello Punit,

Thank you for your interest in our work.

See related issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants