summaryrefslogtreecommitdiff
path: root/run100k.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run100k.sh')
-rwxr-xr-xrun100k.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/run100k.sh b/run100k.sh
new file mode 100755
index 0000000..1ad9e77
--- /dev/null
+++ b/run100k.sh
@@ -0,0 +1,32 @@
+dataset="randomcrops100k"
+
+/home/lens/Desktop/dataset-random.pl
+
+python datasets/combine_A_and_B.py \
+ --fold_A "/home/lens/Desktop/thumbs/$dataset/A" \
+ --fold_B "/home/lens/Desktop/thumbs/$dataset/B" \
+ --fold_AB "./datasets/$dataset/"
+
+python train.py \
+ --dataroot "./datasets/$dataset" \
+ --name "$dataset" \
+ --model pix2pix \
+ --which_model_netG unet_256 \
+ --which_direction AtoB \
+ --lambda_B 100 \
+ --dataset_mode aligned \
+ --no_lsgan --norm batch --pool_size 0
+
+python test.py \
+ --dataroot "/home/lens/Desktop/thumbs/$dataset/A/train/" \
+ --name "$dataset" \
+ --start_img "/home/lens/Desktop/thumbs/$dataset/A/train/frame_0000.png" \
+ --how_many 2000 \
+ --model test \
+ --aspect_ratio 1.777777 \
+ --which_model_netG unet_256 \
+ --which_direction AtoB \
+ --dataset_mode recursive \
+ --norm batch
+
+