All Projects → nhynes → caffegraph

nhynes / caffegraph

Licence: MIT License
Load graphical Caffe networks in Torch

Programming Languages

Protocol Buffer
295 projects
C++
36643 projects - #6 most used programming language
lua
6591 projects
CMake
9771 projects

caffegraph

Load Caffe networks in Torch7 using nngraph.

After installing Torch, ensure that you have the protobuf libraries. On Ubuntu, this might look like

sudo apt-get install libprotobuf-dev protobuf-compiler

or, on Macintosh OperatingSystem 10:

brew install protobuf

You can then install this package using

luarocks install caffegraph

Then, similarly to loadcaffe,

caffegraph = require 'caffegraph'
model = caffegraph.load('deploy_resnet152.prototxt', 'resnet152.caffemodel')

Note that some modules that are loadable using loadcaffe are not yet implemented in caffegraph. You are welcome to submit a PR with any that you feel are missing!

caffe.proto is used under license from the University of California.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].