gaurav
gaurav

Reputation: 96

How to run non-Caffe model in Caffe

I want to run inference using some ConvNet on Caffe. The only issue is I already have the weights and bias in raw format and I don't want to re-train it on Caffe.

Now Caffe requires two input file:

Here .prototxt file can be generated easily, but is it possible to generate .caffemodel using raw weights and bias?

Upvotes: 0

Views: 165

Answers (1)

Toterich
Toterich

Reputation: 585

The process of manually manipulating a Caffe model is called Net Surgery.

Specifically, net.params() allows you to access the net's parameters directly.

Upvotes: 1

Related Questions