diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 05:44:29 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 05:44:29 +0200 |
| commit | b439a144df0125601d3a5c454f87750da89cc286 (patch) | |
| tree | 40e6e9f8043aa3ca4117791822b939c8971e9bad | |
| parent | 558d7869bdb38b7f03719cdc52d03e0a328ce6ba (diff) | |
run
| -rwxr-xr-x | run.sh | 6 | ||||
| -rwxr-xr-x | run100k.sh | 2 | ||||
| -rw-r--r-- | test-mogrify-recursive.sh | 8 | ||||
| -rw-r--r-- | test-mogrify.py | 2 |
4 files changed, 10 insertions, 8 deletions
@@ -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/" \ @@ -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() |
