Loading caffe models in pytorch

I have prototxt and caffemodel file and I want to load these weights to my pytorch model how can I achieve this?
Thank you in advance.

https://github.com/ysh329/deep-learning-model-convertor has a comprehensive list of model convertors. In particular I would look at mmdn (https://github.com/Microsoft/MMdnn) and pytorch caffe (https://github.com/marvis/pytorch-caffe)

1 Like