Perhaps it might help if I understood the output of protoc --decode_raw. 

Here's an example of a .caffemodel file I'm trying to inspect.  Is there a 
description of what the numbers mean in this file?

1: "VGG_ILSVRC_16_layers"
100 {
  1: "input-data"
  2: "Python"
  4: "data"
  4: "im_info"
  4: "gt_boxes"
  10: 0
  130 {
    1: "roi_data_layer.layer"
    2: "RoIDataLayer"
    3: "\'num_classes\': 2"
  }
}
100 {
  1: "data_input-data_0_split"
  2: "Split"
  3: "data"
  4: "data_input-data_0_split_0"
  4: "data_input-data_0_split_1"
  10: 0
}

On Saturday, December 9, 2017 at 2:52:10 PM UTC-8, Jim Baldwin wrote:
>
> I have a protobuf file, and a .proto file that describes the schema.
>
> The .proto describes dozens of different messages that may be in the 
> protobuf file.
>
> I would like to know what messages can be found in the file.  I do a 
> protoc --decode_raw and get something out, but I don't see how to use that 
> to figure out how to extract messages from the file.
>
> I assume there's something I don't get about protobufs, but it seems to me 
> I should be able to take a protobuf data file and corresponding .proto and 
> turn it into a file that lets me see what the message hierarchy is in the 
> file.  JSON would be a great way to do that.
>
> What am I missing?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to