File naming convention requires that two words be split by a underscore
authorKai Li <kaili_kloud@163.com>
Wed, 19 Mar 2014 15:26:14 +0000 (23:26 +0800)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 19 Mar 2014 19:31:38 +0000 (12:31 -0700)
tools/extra/parse_log.sh [moved from tools/extra/parselog.sh with 95% similarity]
tools/extra/plot_log.gnuplot.example
tools/extra/plot_training_log.py.example

similarity index 95%
rename from tools/extra/parselog.sh
rename to tools/extra/parse_log.sh
index 6d65f48..9984460 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Usage parselog.sh caffe.log 
+# Usage parse_log.sh caffe.log 
 # It creates two files one caffe.log.test that contains the loss and test accuracy of the test and
 # another one caffe.log.loss that contains the loss computed during the training
 
@@ -8,7 +8,7 @@ DIR="$(readlink -f $(dirname "$0"))"
 
 if [ "$#" -lt 1 ]
 then
-echo "Usage parselog.sh /path/to/your.log"
+echo "Usage parse_log.sh /path/to/your.log"
 exit
 fi
 LOG=`basename $1`
index 925d049..76715c5 100644 (file)
@@ -5,9 +5,9 @@
 # You had better check the data files before designing your own plots.
 
 # Please generate the neccessary data files with 
-# /path/to/caffe/scripts/parselog.sh before plotting.
+# /path/to/caffe/scripts/parse_log.sh before plotting.
 # Example usage: 
-#     ./parselog.sh mnist.log
+#     ./parse_log.sh mnist.log
 # Now you have mnist.log.train and mnist.log.test.
 #     gnuplot mnist.gnuplot
 
index a68ab2f..b6fda54 100755 (executable)
@@ -11,7 +11,7 @@ import matplotlib.markers as mks
 
 def get_log_parsing_script():
     dirname = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
-    return dirname + '/parselog.sh'
+    return dirname + '/parse_log.sh'
 
 def get_log_file_suffix():
     return '.log'