diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 04:34:06 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 04:34:06 +0200 |
| commit | f3d32fd9f0118c6ff56aaeaad4473e17abc45733 (patch) | |
| tree | a8f76ff9e4d92acf58fed82035c920de2f3d5ace | |
| parent | 1443440e077d7109491fc3bd4a13c5d464b0c475 (diff) | |
testy
| -rw-r--r-- | test-mogrify-recursive.sh | 5 | ||||
| -rw-r--r-- | test-mogrify.py | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test-mogrify-recursive.sh b/test-mogrify-recursive.sh index 6f156a1..9ee64f4 100644 --- a/test-mogrify-recursive.sh +++ b/test-mogrify-recursive.sh @@ -25,9 +25,10 @@ python test-mogrify.py \ --loadSize 256 --fineSize 256 --how_many $how_many \ --model test --which_model_netG unet_256 \ --which_direction AtoB --dataset_mode recursive \ - --recursive --recursive-frac 0.49 \ - --sequence --sequence-frac 0.49 \ + --recursive --recursive-frac 0.99999 \ + --posterize \ --norm batch + # --sequence --sequence-frac 0.49 \ # python test-mogrify.py \ # --dataroot "$dataset/train/" \ diff --git a/test-mogrify.py b/test-mogrify.py index 22472b3..373051a 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -166,6 +166,7 @@ if __name__ == '__main__': # im = np.asarray(image_pil).astype('uint8') #print(im.shape, im.dtype) + # src_img = im[:, :, ::-1].copy() img = process_image(im) cv2.imwrite(tmp_path, img) |
