From b439a144df0125601d3a5c454f87750da89cc286 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 05:44:29 +0200 Subject: run --- run.sh | 6 +++--- run100k.sh | 2 +- test-mogrify-recursive.sh | 8 +++++--- test-mogrify.py | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/run.sh b/run.sh index 05c5eb2..ec1cd20 100755 --- a/run.sh +++ b/run.sh @@ -11,15 +11,15 @@ python train.py \ --dataroot "./datasets/$dataset" \ --name "$dataset" \ --model pix2pix \ - --loadSize 276 \ + --loadSize 264 \ --fineSize 256 \ --which_model_netG unet_256 \ --which_direction AtoB \ --lambda_B 100 \ --dataset_mode aligned \ + --which_epoch latest \ + --continue_train \ --no_lsgan --norm batch --pool_size 0 -# --which_epoch latest \ -# --continue_train \ #python test.py \ # --dataroot "/home/lens/Desktop/thumbs/$dataset/A/train/" \ diff --git a/run100k.sh b/run100k.sh index 1ad9e77..451ba30 100755 --- a/run100k.sh +++ b/run100k.sh @@ -13,7 +13,7 @@ python train.py \ --model pix2pix \ --which_model_netG unet_256 \ --which_direction AtoB \ - --lambda_B 100 \ + --lambda_B 10 \ --dataset_mode aligned \ --no_lsgan --norm batch --pool_size 0 diff --git a/test-mogrify-recursive.sh b/test-mogrify-recursive.sh index 25c3d01..861fda4 100644 --- a/test-mogrify-recursive.sh +++ b/test-mogrify-recursive.sh @@ -19,13 +19,15 @@ how_many=200 python test-mogrify.py \ --dataroot "/home/lens/Desktop/woods_videos/processed/combined" \ --start_img "/home/lens/Desktop/woods_videos/processed/combined/frame_00003.png" \ - --experiment "spin_sequence" \ + --experiment "spin_sequence_blur" \ --name pcfade \ - --sequence --sequence-frac 0.3 \ - --recursive --recursive-frac 0.4 \ + --sequence --sequence-frac 0.04 \ + --recursive --recursive-frac 0.3 \ + --process-frac 0.5 \ --loadSize 256 --fineSize 256 --how_many 200 \ --model test --which_model_netG unet_256 \ --which_direction AtoB --dataset_mode recursive \ + --blur \ --norm batch diff --git a/test-mogrify.py b/test-mogrify.py index 9dcae86..be74ba8 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -93,7 +93,7 @@ if __name__ == '__main__': processed = True img = cv2.Canny(img, data_opt.canny_lo, data_opt.canny_hi) - if processed is False: + if processed is False or data_opt.process_frac == 0: return img src_img = im[:, :, ::-1].copy() -- cgit v1.2.3-70-g09d2