Skip to content

Mean shape incompatible with input shape #34

@punitagrawal32

Description

@punitagrawal32

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions