dproto icon indicating copy to clipboard operation
dproto copied to clipboard

would be nice to show examples derived from real use cases

Open timotheecour opened this issue 8 years ago • 4 comments

would be nice to show examples derived from real use cases to see where it works and where it doesn't yet work;

eg with no imports: https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto

more complex eg with imports: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/graph.proto

eg: loading from prototxt text format: https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/solver.prototxt

eg: loading from proto wire format: ...

timotheecour avatar Mar 19 '16 07:03 timotheecour

loading from prototxt text format

what for? is it working somewhere?

denizzzka avatar Apr 15 '16 07:04 denizzzka

if you're asking whether protocol buffer text format is used, yes it used extensively in companies that use protocol buffers; [that file provides such an example]. Use cases: conveniently define protos in a human readable way, eg in tests, when writing configuration, as a replacement for command line flags (1 flag as proto ascii format instead of multiple command line flags)

timotheecour avatar Apr 15 '16 08:04 timotheecour

In my opinion this vicious practice must remain the problem of these companies

denizzzka avatar Apr 15 '16 08:04 denizzzka

In my opinion this vicious practice must remain the problem of these companies

Care to elaborate? Which part of it is nasty? If google has a strong use case for it, I'm sure others have as well.

timotheecour avatar Apr 15 '16 10:04 timotheecour