From fadf51822689741cd1a7693b44ac4a0f53c975c8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 13 Jun 2018 16:16:49 +0200 Subject: recursive dataset stuff --- recursive.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recursive.sh (limited to 'recursive.sh') diff --git a/recursive.sh b/recursive.sh new file mode 100644 index 0000000..9bd61b6 --- /dev/null +++ b/recursive.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ "$1" == "" ]; then + echo "Usage: $0 [dataset]" + exit 1 +fi +if [ -e "./checkpoints/${1}" ]; then + python train.py --dataroot "./datasets/${1}/" --name "$1" --label_nc 0 --no_instance --continue_train --which_epoch latest +else + python train.py --dataroot "./datasets/${1}/" --name "$1" --label_nc 0 --no_instance +fi -- cgit v1.2.3-70-g09d2