summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-20 11:57:00 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-20 11:57:00 +0200
commitebd87c6c9c57b39563fe4a4fb42f66985bb31737 (patch)
treeac5fa6ef429a4fcec2ac025bec28f3501cb414d8
parentf3dac7ce89a872eb40aca3fae7866c224cd494b3 (diff)
parent8c693035abf12d26deee5622aa2dc0328d7459b1 (diff)
Merge branch 'master' of ghghgh.us:pix2pix
-rwxr-xr-xrecursive.sh2
-rwxr-xr-xrun.sh19
2 files changed, 12 insertions, 9 deletions
diff --git a/recursive.sh b/recursive.sh
index cdaad73..464851b 100755
--- a/recursive.sh
+++ b/recursive.sh
@@ -1,7 +1,7 @@
python test.py \
--dataroot /home/lens/Desktop/thumbs/woodscaled/A/train/ \
--name woodscaled_pix2pix \
- --start_img /home/lens/Desktop/thumbs/woodscaled/A/train/frame_0000.png \
+ --start_img /home/lens/Desktop/thumbs/woodscaled/A/train/frame_1001.png \
--how_many 2000 \
--model test \
--which_model_netG unet_256 \
diff --git a/run.sh b/run.sh
index 1ad9e77..3cbc0c3 100755
--- a/run.sh
+++ b/run.sh
@@ -1,26 +1,29 @@
-dataset="randomcrops100k"
+dataset="randomcrops5k"
-/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/"
+#/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 \
+ --loadSize 256 \
+ --fineSize 256 \
--which_model_netG unet_256 \
--which_direction AtoB \
--lambda_B 100 \
--dataset_mode aligned \
+ --continue_train \
--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" \
+ --start_img "/home/lens/Desktop/thumbs/$dataset/A/train/frame_1001.png" \
--how_many 2000 \
--model test \
--aspect_ratio 1.777777 \