From: Yangqing Jia Date: Wed, 25 Sep 2013 22:38:46 +0000 (-0700) Subject: caffe proto txt X-Git-Tag: submit/tizen/20180823.020014~1001^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8025b8b9b7c27749505090f14de786e6377e7c79;p=platform%2Fupstream%2Fcaffeonacl.git caffe proto txt --- diff --git a/src/caffe/proto/lenet.prototxt b/src/caffe/proto/lenet.prototxt new file mode 100644 index 0000000..b4cb31b --- /dev/null +++ b/src/caffe/proto/lenet.prototxt @@ -0,0 +1,89 @@ +name: "LeNet" +bottom: "data" +bottom: "label" +layers { + layer { + name: "conv1" + type: "conv" + num_output: 20 + kernelsize: 5 + stride: 1 + } + bottom: "data" + top: "conv1" +} +layers { + layer { + name: "pool1" + type: "pool" + kernelsize: 2 + stride: 2 + pool: MAX + } + bottom: "conv1" + top: "pool1" +} +layers { + layer { + name: "conv2" + type: "conv" + num_output: 50 + kernelsize: 5 + stride: 1 + } + bottom: "pool1" + top: "conv2" +} +layers { + layer { + name: "pool2" + type: "pool" + kernelsize: 2 + stride: 2 + pool: MAX + } + bottom: "conv2" + top: "pool2" +} +layers { + layer { + name: "ip1" + type: "innerproduct" + num_output: 500 + } + bottom: "pool2" + top: "ip1" +} +layers { + layer { + name: "relu1" + type: "relu" + } + bottom: "ip1" + top: "relu1" +} +layers { + layer { + name: "ip2" + type: "innerproduct" + num_output: 10 + } + bottom: "relu1" + top: "ip2" +} +layers { + layer { + name: "prob" + type: "softmax" + } + bottom: "ip2" + top: "prob" +} +layers { + layer { + name: "loss" + type: "softmaxloss" + } + bottom: "prob" + bottom: "label" +} \ No newline at end of file