summaryrefslogtreecommitdiff
path: root/test-datasets.sh
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-12 18:03:02 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-12 18:03:02 +0200
commit6e02d55fa01b0532ac9f152765b815a0415310b2 (patch)
treedc79a35368e94e8c3f5ac72c475a542bc5b8985b /test-datasets.sh
parent0ad66a09aaf55023d8eaff70094b0798b01adb19 (diff)
parent0e03791f3f7db3f157bed785ba06d21270b98059 (diff)
merge
Diffstat (limited to 'test-datasets.sh')
-rw-r--r--test-datasets.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/test-datasets.sh b/test-datasets.sh
new file mode 100644
index 0000000..3629170
--- /dev/null
+++ b/test-datasets.sh
@@ -0,0 +1,26 @@
+declare -a datasets=("blended_wood_canny_leaves" "blended_wood_canny_typical" "blended_wood_canny_more_edges_poorly_trained")
+declare -a checkpoints=("messi" "randomcrops100k" "randomcrops_30000_4" "randomcrops5k" "woodscaled" "woodscaled_4")
+
+basedir="/home/lens/code/torch-warp/"
+
+for ds in "${datasets[@]}"
+do
+
+bs=$(basename $ds)
+
+for i in "${checkpoints[@]}"
+do
+ echo $ds
+ echo $i
+
+ python test.py \
+ --dataroot "${basedir}${ds}/256/"\
+ --name $i --mov "${bs}_warp_${i}" \
+ --model test --dataset_mode single --experiment woodwarp \
+ --which_model_netG unet_256 --which_direction AtoB \
+ --loadSize 256 --fineSize 256 --norm batch --how_many 10000
+
+done
+
+done
+