2016-05-24 5 views
7

Ich kann nicht finden, wie man Kommentare in prototxt Dateien schreibt.Wie schreibe ich Kommentare in Prototxt-Dateien?

Gibt es eine Möglichkeit, Kommentare in einer Prototxt-Datei zu haben, wie?

Dank

+2

http://caffe.berkeleyvision.org/gathered/examples/mnist. html (erster Link in Google) hat Beispiele mit Kommentaren –

Antwort

11

Sie, indem Sie die # char Kommentar kann: alles in der Linie danach ist ein Kommentar:

layer { 
    name: "aLayerWithComments" # I picked this cool name by myself 
    type: "ReLU" 
    bottom: "someData" # this is the output of the layer below 
    top: "someData" # same name means this is an "in-place" layer 
} 
# and now you can comment the entire line...