Copy proto definition to distribute directory#3587
Conversation
|
It's slightly odd to copy the On the other hand shipping |
|
Yes, we process the proto files in java as well, mainly for the input data layer. For example, we get the source location from the memory data layer. The location is typically an HDFS URI and is the base for a Spark RDD. |
|
@shelhamer In our use case, we need Java class generated from caffe.proto at this point. Python binding may be needed later. It is okay for us if Caffe distribute those bindings for caffe.proto. However, it will be easier to let users handle them directly. |
Include proto definition in distribute dir
|
Ok this is fine, but to quote my earlier comment:
in the same way the Python proto bindings are built. |
To ensure Caffe to be executable on JVM, caffe.proto is required by JVM layers to access solver and network configurations. For that purpose, we make caffe.proto available in distribute directory.