summaryrefslogtreecommitdiff
path: root/recursive.sh
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-13 16:16:49 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-13 16:16:49 +0200
commitfadf51822689741cd1a7693b44ac4a0f53c975c8 (patch)
tree2e395d55f78b3e669f6ece7f197b69d76b2e1aca /recursive.sh
parent810d391401fba9a62157becdbccfa7188cbc0d16 (diff)
recursive dataset stuff
Diffstat (limited to 'recursive.sh')
-rw-r--r--recursive.sh11
1 files changed, 11 insertions, 0 deletions
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