X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=run.sh;h=f718d1171d5ecf252ae527d520bc1e7b1ec9099b;hp=42dc58b182285324da09a1f5a6aa8868202268cd;hb=46071628964903cf0033d07492f7a1c506ce87d4;hpb=94ef84aef3a1845326c7c43970997b701a919bd6 diff --git a/run.sh b/run.sh index 42dc58b..f718d11 100755 --- a/run.sh +++ b/run.sh @@ -19,7 +19,7 @@ MAIN_URL="http://www.idiap.ch/folded-ctf" -###################################################################### +######################################################################### # Compiling make -j -k @@ -31,7 +31,7 @@ fi echo -###################################################################### +######################################################################### # Generating the pool file DATA_PATH=./rmk-data @@ -77,13 +77,13 @@ else fi -###################################################################### -# Running the computation per se - RESULT_DIR=./results case $1 in + ##################################################################### + ## Generate the pictures from the paper + pics) SEED=0 @@ -92,14 +92,14 @@ case $1 in if [[ -d "${EXPERIMENT_RESULT_DIR}" ]]; then - for n in -1 0 2501 2504; do + for npf in -1 0 2497; do ./folding --random-seed=${SEED} \ --pool-name=${POOL_NAME} \ - --result-path=${EXPERIMENT_RESULT_DIR} \ + --result-path=/tmp/ \ --detector-name=${EXPERIMENT_RESULT_DIR}/default.det \ - --nb-images=1 \ - --material-feature-nb=${n} \ + --nb-images=63 \ + --material-feature-nb=${npf} \ open-pool \ read-detector \ write-pool-images @@ -114,6 +114,9 @@ case $1 in ;; + ##################################################################### + ## Run the full computation + valgrind|"") if [[ ! -d ${RESULT_DIR} ]]; then