-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Listing all layers #42
Comments
Look at caffe2/binaries/print_registered_core_operators.cc (and the compiled binary) - it prints out all registered operators. |
Thanks, that's a great functionality. Does anything exist like that for caffe(1)? |
Is this what you're looking for? BVLC/caffe#2930 |
Ooph @lukeyeager, that's the closest thing so far. But it only gives me the layers names. I was just browsing for something reflecting the content of the |
Ever since BVLC/caffe#1694 there hasn't been a way to enumerate the layers just by looking at |
Fair enough. A dirty combination of (1) listing all layers with your function and (2) regexing all variables within the parameters of caffe.proto will do the trick for now. Thanks! |
For anyone interested, the parsed |
@TimZaman fwiw, you can introspect on protobufs using the https://developers.google.com/protocol-buffers/docs/reference/python/google.protobuf.descriptor-module, etc API, which might make the above file easier to generate in the future. |
Nice one, didn't find that on my quest. Will come in handy. |
Is there a possibility of easily listing all layers and their settings? Maybe to a protobuf? If not, any ideas how I would go about most robustly implementing this?
The text was updated successfully, but these errors were encountered: