Ahsen Khaliq
commited on
Commit
·
bc8a31e
1
Parent(s):
085c620
Update style_transfer_folder.py
Browse files- style_transfer_folder.py +2 -2
style_transfer_folder.py
CHANGED
@@ -77,8 +77,8 @@ if __name__ == '__main__':
|
|
77 |
img_out_ten, _ = g_ema([sample_in], z_embed=sample_style, add_weight_index=args.add_weight_index,
|
78 |
input_is_latent=True, return_latents=False, randomize_noise=False)
|
79 |
img_out = ten2cv(img_out_ten)
|
80 |
-
out = np.concatenate([img_in, img_style, img_out], axis=1)
|
81 |
-
cv2.imwrite('out.jpg',
|
82 |
|
83 |
print('Done!')
|
84 |
|
|
|
77 |
img_out_ten, _ = g_ema([sample_in], z_embed=sample_style, add_weight_index=args.add_weight_index,
|
78 |
input_is_latent=True, return_latents=False, randomize_noise=False)
|
79 |
img_out = ten2cv(img_out_ten)
|
80 |
+
#out = np.concatenate([img_in, img_style, img_out], axis=1)
|
81 |
+
cv2.imwrite('out.jpg', img_out)
|
82 |
|
83 |
print('Done!')
|
84 |
|