X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dyncnn.git;a=blobdiff_plain;f=run.sh;h=fe3a2e2342a65cdd57f7a728d5de266ab1d71b9a;hp=fe041f2f98c9c61d575c84aef7cee429c27cc561;hb=5cbea5ca8a26719be70c974fab505e5b8695d9e4;hpb=fe5dee151313b6abd8ffee2c5fc5593f326e663f diff --git a/run.sh b/run.sh index fe041f2..fe3a2e2 100755 --- a/run.sh +++ b/run.sh @@ -27,55 +27,32 @@ 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 - if [[ ! -d "${DYNCNN_DATA_DIR}" ]]; then - cat <