Skip to content

How to convert binaryproto to npy (like ilsvrc_2012_mean.npy)? #290

@ShiqiYu

Description

@ShiqiYu

When I run the pretrained ImageNet model, I found the python wrapper (wrapper.py) will read this file:
python/caffe/imagenet/ilsvrc_2012_mean.npy
To my understanding, the file is the numpy version of file "imagenet_mean.binaryproto".

  1. Do anyone know how to convert "imagenet_mean.binaryproto" to "ilsvrc_2012_mean.npy"?
  2. If the mean file ("ilsvrc_2012_mean.npy") is a parameter in imagenet_deploy.prototxt, will it be better?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions