Extracting weights from .caffemodel without caffe installed in Python

后端 未结 4 2269
北恋
北恋 2021-02-09 19:10

Is there a relatively simple way to extract weights in Python from one of the many pretrained models in Caffe Zoo WITHOUT CAFFE (nor pyCaffe)? i.e. parsing .caffe

4条回答
  •  不要未来只要你来
    2021-02-09 19:14

    I don't understand why you want to do that without caffe/pycaffe, perhaps you are tired of deploying caffe on new machine ? But since caffemodel is special binary data type of caffe, using others' tool doesn't make life easier.

    If you do insist to do this, there is another framework : Mocha on Julia, which provides a method to extracting caffemodel to hdf5. I hope this could help you.

提交回复
热议问题