X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dyncnn.git;a=blobdiff_plain;f=run.sh;h=3f8529d5714de4daa3e9884285adc0c3c3b6a154;hp=fe041f2f98c9c61d575c84aef7cee429c27cc561;hb=HEAD;hpb=fe5dee151313b6abd8ffee2c5fc5593f326e663f diff --git a/run.sh b/run.sh index fe041f2..3f8529d 100755 --- a/run.sh +++ b/run.sh @@ -27,55 +27,42 @@ set -o pipefail [[ "${TORCH_NB_THREADS}" ]] || echo "You can set \$TORCH_NB_THREADS to the proper value (default 1)." [[ "${TORCH_USE_GPU}" ]] || echo "You can set \$TORCH_USE_GPU to 'yes' or 'no' (default 'no')." -[[ "${DYNCNN_DATA_DIR}" ]] || DYNCNN_DATA_DIR="./data/10p-mg" +[[ "${DYNCNN_DATA_DIR}" ]] || DYNCNN_DATA_DIR="./data/10p-mg" [[ "${DYNCNN_RUNDIR}" ]] || DYNCNN_RUNDIR="./results" -###################################################################### -# Create the data-set if the directory does not exist +NB_EPOCHS=2000 if [[ ! -d "${DYNCNN_DATA_DIR}" ]]; then - cat <