Layer vs. layers in *.prototxt and related changes

1,316 views
Skip to first unread message

Paul Delamusica

unread,
Jul 21, 2015, 8:52:14 PM7/21/15
to Caffe Users
Hi,

   When did the change from "layers" to "layer" happen and what else has been changed?

   blob_lr -> lr_mult
   type: "Data" -> type: IMAGE_DATA

   A lot of examples floating around, am I the only one in the dark?

Evan Shelhamer

unread,
Jul 22, 2015, 1:00:45 AM7/22/15
to Paul Delamusica, Caffe Users
The latest protobuf format was adopted in PR #1694 and all the examples bundled in Caffe should follow this standard. Please send patches for any inconsistencies!

Evan Shelhamer

--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/313071bc-c95c-41cc-89f2-f206cf97bec4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Delamusica

unread,
Jul 22, 2015, 11:17:44 AM7/22/15
to Caffe Users
Thanks for the pointer. I am aware of this thread but it is difficult to sort out the final specification from the brain storming of 8 people. Is there a final version one can look at?

A lot of questions and answers on this forum are provided in the old format. They are very helpful to a lot of people. It would be unrealistic to have them all converted to the new form.

Evan Shelhamer

unread,
Jul 22, 2015, 3:51:19 PM7/22/15
to Paul Delamusica, Caffe Users
There's always a definitive specification: it's the proto definition at https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto
Note there's an upgrade utility for converting old prototxt too: https://github.com/BVLC/caffe/blob/master/tools/upgrade_net_proto_text.cpp

Hope that helps,

Evan Shelhamer

Paul Delamusica

unread,
Jul 23, 2015, 3:32:52 PM7/23/15
to Caffe Users, evan.sh...@gmail.com
Thanks for the upgrade utility. That part is certainly helpful.

On the other hand, I can't quite connect the dots from the caffe.proto to the *.prototxt input format. Is it explained somewhere?

Paul
Reply all
Reply to author
Forward
0 new messages