projects
/
folded-ctf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
automatic commit
[folded-ctf.git]
/
run.sh
diff --git
a/run.sh
b/run.sh
index
42dc58b
..
f718d11
100755
(executable)
--- a/
run.sh
+++ b/
run.sh
@@
-19,7
+19,7
@@
MAIN_URL="http://www.idiap.ch/folded-ctf"
MAIN_URL="http://www.idiap.ch/folded-ctf"
-######################################################################
+######################################################################
###
# Compiling
make -j -k
# Compiling
make -j -k
@@
-31,7
+31,7
@@
fi
echo
echo
-######################################################################
+######################################################################
###
# Generating the pool file
DATA_PATH=./rmk-data
# Generating the pool file
DATA_PATH=./rmk-data
@@
-77,13
+77,13
@@
else
fi
fi
-######################################################################
-# Running the computation per se
-
RESULT_DIR=./results
case $1 in
RESULT_DIR=./results
case $1 in
+ #####################################################################
+ ## Generate the pictures from the paper
+
pics)
SEED=0
pics)
SEED=0
@@
-92,14
+92,14
@@
case $1 in
if [[ -d "${EXPERIMENT_RESULT_DIR}" ]]; then
if [[ -d "${EXPERIMENT_RESULT_DIR}" ]]; then
- for n
in -1 0 2501 2504
; do
+ for n
pf in -1 0 2497
; do
./folding --random-seed=${SEED} \
--pool-name=${POOL_NAME} \
./folding --random-seed=${SEED} \
--pool-name=${POOL_NAME} \
- --result-path=
${EXPERIMENT_RESULT_DIR}
\
+ --result-path=
/tmp/
\
--detector-name=${EXPERIMENT_RESULT_DIR}/default.det \
--detector-name=${EXPERIMENT_RESULT_DIR}/default.det \
- --nb-images=
1
\
- --material-feature-nb=${n} \
+ --nb-images=
63
\
+ --material-feature-nb=${n
pf
} \
open-pool \
read-detector \
write-pool-images
open-pool \
read-detector \
write-pool-images
@@
-114,6
+114,9
@@
case $1 in
;;
;;
+ #####################################################################
+ ## Run the full computation
+
valgrind|"")
if [[ ! -d ${RESULT_DIR} ]]; then
valgrind|"")
if [[ ! -d ${RESULT_DIR} ]]; then