dagstudio
dagstudio copied to clipboard
(Dynamically) Retrieve Caffe Layers and their arguments
The layers and their args should preferably be formatted to .json.
Listing Caffe Layers
- Through python and https://github.com/BVLC/caffe/pull/2930 (from https://github.com/caffe2/caffe2/issues/42#issuecomment-243251598); Example
.jsonoutput: https://github.com/TimZaman/dagstudio/blob/master/tests/caffe-all-layers.json
Listing Caffe args
- By protobuf introspection, f.e. https://developers.google.com/protocol-buffers/docs/reference/python/google.protobuf.descriptor-module from (https://github.com/caffe2/caffe2/issues/42#issuecomment-245172384)
- By parsing the .proto with https://github.com/nlf/node-proto2json/pull/1 ;
Example
.jsonoutput: https://github.com/TimZaman/dagstudio/blob/master/tests/caffe.json