Skip to content

Improve Net & Layer Schema #169

@shelhamer

Description

@shelhamer

caffe.proto defines the schema for all of our models, and has done an admirable job, but it should be broken so that it can mend properly and best serve the research and development of Caffe and our models.

The key improvements are to:

To make this migration in a calm and orderly fashion, we will

  • freeze caffe.proto at caffe0.proto and deprecate it
  • define a new caffe.proto
  • provide a conversion script to cover the changes.

For the assignment of params and protobuf fields, there'll be:

  • core param reservations for Net, Layer, and the like (all numbers < 1024) that will be assigned by the core developers. We will accept suggestions, but reserve the choice.
  • to avoid overhead and coordinating field requests, we will adopt a distributed system based on the commit hash of the feature branch proposing new fields a proto comment will list the next available field number.
  • All field numbers will be assigned at merge time, to not impede development during feature development and pull requesting. In a feature branch, the developer should pick whichever number is next according to dev. Final numbers will be assigned right before more.

Welcome to the world of version < 1.0. The ride never stops.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions