summaryrefslogtreecommitdiff
path: root/test-all.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-all.sh
parent0ad66a09aaf55023d8eaff70094b0798b01adb19 (diff)
parent0e03791f3f7db3f157bed785ba06d21270b98059 (diff)
merge
Diffstat (limited to 'test-all.sh')
-rwxr-xr-xtest-all.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/test-all.sh b/test-all.sh
new file mode 100755
index 0000000..675966e
--- /dev/null
+++ b/test-all.sh
@@ -0,0 +1,24 @@
+declare -a datasets=("/home/lens/Desktop/skull/")
+declare -a checkpoints=("messi" "randomcrops100k" "randomcrops_30000_4" "randomcrops5k" "woodscaled" "woodscaled_4")
+
+for ds in "${datasets[@]}"
+do
+
+bs=$(basename $ds)
+
+for i in "${checkpoints[@]}"
+do
+ echo $ds
+ echo $i
+
+ python test.py \
+ --dataroot $ds \
+ --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
+