Commit 19a7e23 1 parent aa0a52f commit 19a7e23 Copy full SHA for 19a7e23
File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
# This scripts downloads the CIFAR10 (binary version) data and unzips it.
3
3
4
- DIR=" $( readlink -f $( dirname " $0 " ) ) "
4
+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
5
5
cd $DIR
6
6
7
7
echo " Downloading..."
Original file line number Diff line number Diff line change 6
6
# - synset ids and words
7
7
# - the training splits with labels
8
8
9
- DIR=" $( readlink -f $( dirname " $0 " ) ) "
9
+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
10
10
cd $DIR
11
11
12
12
echo " Downloading..."
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
# This scripts downloads the mnist data and unzips it.
3
3
4
- DIR=" $( readlink -f $( dirname " $0 " ) ) "
4
+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
5
5
cd $DIR
6
6
7
7
echo " Downloading..."
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ MSG=`git log --oneline -1`
15
15
16
16
if [[ $BRANCH = ' master' ]]; then
17
17
# Find the docs dir, no matter where the script is called
18
- DIR=" $( readlink -f $( dirname " $0 " ) ) "
18
+ DIR=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
19
19
DOCS_SITE_DIR=$DIR /../docs/_site
20
20
21
21
# Make sure that docs/_site tracks remote:gh-pages.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Usage parse_log.sh caffe.log
2
+ # Usage parse_log.sh caffe.log
3
3
# It creates two files one caffe.log.test that contains the loss and test accuracy of the test and
4
4
# another one caffe.log.loss that contains the loss computed during the training
5
5
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 ) "
8
8
9
9
if [ " $# " -lt 1 ]
10
10
then
You can’t perform that action at this time.
0 commit comments