Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gapou
caffe
Commits
19a7e23c
Commit
19a7e23c
authored
Mar 19, 2014
by
Evan Shelhamer
Browse files
fix script path incantation
parent
aa0a52f9
Changes
5
Hide whitespace changes
Inline
Side-by-side
data/cifar10/get_cifar10.sh
View file @
19a7e23c
#!/usr/bin/env sh
# This scripts downloads the CIFAR10 (binary version) data and unzips it.
DIR
=
"
$(
readlink
-f
$(
dirname
"
$0
"
))
"
DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
-P
)
"
cd
$DIR
echo
"Downloading..."
...
...
data/ilsvrc12/get_ilsvrc_aux.sh
View file @
19a7e23c
...
...
@@ -6,7 +6,7 @@
# - synset ids and words
# - the training splits with labels
DIR
=
"
$(
readlink
-f
$(
dirname
"
$0
"
))
"
DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
-P
)
"
cd
$DIR
echo
"Downloading..."
...
...
data/mnist/get_mnist.sh
View file @
19a7e23c
#!/usr/bin/env sh
# This scripts downloads the mnist data and unzips it.
DIR
=
"
$(
readlink
-f
$(
dirname
"
$0
"
))
"
DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
-P
)
"
cd
$DIR
echo
"Downloading..."
...
...
scripts/build_and_deploy_docs.sh
View file @
19a7e23c
...
...
@@ -15,7 +15,7 @@ MSG=`git log --oneline -1`
if
[[
$BRANCH
=
'master'
]]
;
then
# Find the docs dir, no matter where the script is called
DIR
=
"
$(
readlink
-f
$(
dirname
"
$0
"
))
"
DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
-P
)
"
DOCS_SITE_DIR
=
$DIR
/../docs/_site
# Make sure that docs/_site tracks remote:gh-pages.
...
...
tools/extra/parse_log.sh
View file @
19a7e23c
#!/bin/bash
# Usage parse_log.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
#get the dirname of the script
DIR
=
"
$(
readlink
-f
$(
dirname
"
$0
"
))
"
#
get the dirname of the script
DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
-P
)
"
if
[
"$#"
-lt
1
]
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment