summaryrefslogtreecommitdiff
path: root/test-datasets.sh
diff options
context:
space:
mode:
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
+