File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22# This scripts downloads the CIFAR10 (binary version) data and unzips it.
33
4- DIR=" $( readlink -f $( dirname " $0 " ) ) "
4+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
55cd $DIR
66
77echo " Downloading..."
Original file line number Diff line number Diff line change 66# - synset ids and words
77# - the training splits with labels
88
9- DIR=" $( readlink -f $( dirname " $0 " ) ) "
9+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
1010cd $DIR
1111
1212echo " Downloading..."
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22# This scripts downloads the mnist data and unzips it.
33
4- DIR=" $( readlink -f $( dirname " $0 " ) ) "
4+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
55cd $DIR
66
77echo " Downloading..."
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ MSG=`git log --oneline -1`
1515
1616if [[ $BRANCH = ' master' ]]; then
1717 # Find the docs dir, no matter where the script is called
18- DIR=" $( readlink -f $( dirname " $0 " ) ) "
18+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
1919 DOCS_SITE_DIR=$DIR /../docs/_site
2020
2121 # Make sure that docs/_site tracks remote:gh-pages.
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Usage parse_log.sh caffe.log
2+ # Usage parse_log.sh caffe.log
33# It creates two files one caffe.log.test that contains the loss and test accuracy of the test and
44# another one caffe.log.loss that contains the loss computed during the training
55
6- # get the dirname of the script
7- DIR=" $( readlink -f $( dirname " $0 " ) ) "
6+ # get the dirname of the script
7+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
88
99if [ " $# " -lt 1 ]
1010then
You can’t perform that action at this time.
0 commit comments