summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 01:27:50 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 01:27:50 +0200
commit2825c4ba2073e66cf0c8e98eac834a69f743c790 (patch)
tree7270f2991b7f361a421fd26a56ff0e72bd33710d
parent1f28a7e2f137deca19000773ad018cec363aa3a5 (diff)
test scripts
-rw-r--r--test-mogrify-process.sh24
-rw-r--r--test-mogrify-recursive.sh44
-rw-r--r--test-mogrify.py (renamed from test_effects.py)0
3 files changed, 68 insertions, 0 deletions
diff --git a/test-mogrify-process.sh b/test-mogrify-process.sh
new file mode 100644
index 0000000..675966e
--- /dev/null
+++ b/test-mogrify-process.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
+
diff --git a/test-mogrify-recursive.sh b/test-mogrify-recursive.sh
new file mode 100644
index 0000000..fdf632a
--- /dev/null
+++ b/test-mogrify-recursive.sh
@@ -0,0 +1,44 @@
+python test-mogrify.py \
+ --dataroot /home/lens/code/pix2pix/datasets/pcfade/train/frame_00000.png \
+ --experiment darkframe \
+ --name pcfade \
+ --loadSize 256 \
+ --fineSize 256 \
+ --how_many 200 \
+ --model test \
+ --which_model_netG unet_256 \
+ --which_direction AtoB \
+ --dataset_mode aligned \
+ --recursive \
+ --clahe --posterize \
+ --norm batch
+
+python test-mogrify.py \
+ --dataroot /home/lens/code/pix2pix/datasets/pcfade/train/frame_00600.png \
+ --experiment medframe \
+ --name pcfade \
+ --loadSize 256 \
+ --fineSize 256 \
+ --how_many 200 \
+ --model test \
+ --which_model_netG unet_256 \
+ --which_direction AtoB \
+ --dataset_mode aligned \
+ --recursive \
+ --clahe --posterize \
+ --norm batch
+
+python test-mogrify.py \
+ --dataroot /home/lens/code/pix2pix/datasets/pcfade/train/frame_01200.png \
+ --experiment liteframe \
+ --name pcfade \
+ --loadSize 256 \
+ --fineSize 256 \
+ --how_many 200 \
+ --model test \
+ --which_model_netG unet_256 \
+ --which_direction AtoB \
+ --dataset_mode aligned \
+ --recursive \
+ --clahe --posterize \
+ --norm batch
diff --git a/test_effects.py b/test-mogrify.py
index 7f9430c..7f9430c 100644
--- a/test_effects.py
+++ b/test-mogrify.py