summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-19 02:45:33 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-19 02:45:33 +0200
commit064cb62ea8374c0b404553a27567d5e83f0239fc (patch)
tree83a1322a513e1f93faa5c944035ccfb2c2d0b325
parent4d934271a8d3af37cb39c1e9e8c1ca125ed58663 (diff)
new build script
-rwxr-xr-xrun.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..a381e50
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,30 @@
+dataset="randomcrops_30000_4"
+
+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
+
+