[caffe-contrib] 231/362: manpage: caffe.1 update

Zhou Mo cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.

commit 7ae0701dea7fdd337de6122188978394bb54e391
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Tue Sep 8 03:27:30 2015 +0000

    manpage: caffe.1 update
---
 debian/man/caffe.1 | 41 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 37 insertions(+), 4 deletions(-)

diff --git a/debian/man/caffe.1 b/debian/man/caffe.1
index f015d01..358d1c0 100644
--- a/debian/man/caffe.1
+++ b/debian/man/caffe.1
@@ -46,14 +46,19 @@ benchmark model execution time
 .SS Flags from /tmp/caffe/tools/caffe.cpp:
 .TP
 .B \-gpu
-(Run in GPU mode on given device ID.) type: int32 default: -1
+(Run in GPU mode on given device ID.)   
+.br
+type: int32 default: -1   
 .TP
 .B \-iterations
-(The number of iterations to run.) type: int32 default: 50
+(The number of iterations to run.)
+.br
+type: int32 default: 50
 .TP
 .B \-model
-(The model definition protocol buffer text file..) type: string
-default: ""
+(The model definition protocol buffer text file..)
+.br
+type: string default: ""
 .TP
 .B \-sighup_effect
 (Optional; action to take when a SIGHUP signal is received:
@@ -228,6 +233,34 @@ type: int32 default: 0
 against the filename base (that is, name ignoring .cc/.h./-inl.h). <log
 level> overrides any value given by --v.) type: string default: ""
 
+.SH EXAMPLES
+.SS Train Networks
+Train a new Network with CPU or GPU
+
+.RS 
+$ caffe train \-solver solver.prototxt
+.br
+$ caffe train \-solver solver.prototxt -gpu 0
+.RE 
+
+.SS Fine-tune
+
+.RS
+$ caffe train \-solver solver.prototxt \-weights pre_trained.caffemodel \-gpu 0 
+.RE
+
+.SS Test a Trained Model
+
+.RS
+$ caffe test \-model train_val.prototxt \-weights bvlc_alexnet.caffemodel \-gpu 0 \-iterations 100
+.RE
+
+.SS Check CUDA device availability
+
+.RS
+$ caffe device_query \-gpu 0
+.RE
+
 .SH HOMEPAGE
 http://caffe.berkeleyvision.org
 .SH BUGS

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe-contrib.git



More information about the debian-science-commits mailing list