diff options
| -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) |
