Skip to content

piergiaj/caffe-to-theano

Repository files navigation

caffe-to-theano

Convert a Caffe Model to a Theano Model. This currently works on AlexNet, but should work for any Caffe model that only includes layers that have been impemented.

Usage

To run:

python caffe_to_theano.py MODEL.prototxt MODEL.caffemodel

where MODEL.prototxt is the protocol buffer text file with the structure of the model, for example, [this file] (https://github.com/BVLC/caffe/blob/master/models/bvlc_alexnet/deploy.prototxt) for Caffe's AlexNet. The MODEL.caffemodel is the binary file with all the weights, for example, this file for Caffe's AlexNet. The full AlexNet model can be found here.

About

Convert a Caffe Model to a Theano Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published