From 9a8d00d8c4027e8d4627e02835f679e5b4cc512f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 22 Apr 2018 15:43:26 +0200 Subject: push --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test.py') diff --git a/test.py b/test.py index 43a69de..9aed9bb 100644 --- a/test.py +++ b/test.py @@ -68,10 +68,10 @@ if __name__ == '__main__': array_b = np.multiply(last_im, frac_b) im = np.add(array_a, array_b).astype('int8') # print(im.shape, im.dtype) - last_im = np.roll(tmp_im, 1, axis=0) + last_im = np.roll(tmp_im, 1, axis=1) else: last_im = im.copy() - # print(im.shape, im.dtype) + print(im.shape, im.dtype) image_pil = Image.fromarray(im, mode='RGB') image_pil.save(save_path) os.rename(save_path, final_path) -- cgit v1.2.3-70-g09d2