Skip to content

Commit ac3ba51

Browse files
authored
update for network forward funtion
remove preserve_color flag
1 parent 78a25f2 commit ac3ba51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def network_test(args):
2626
# stylize image
2727
with torch.no_grad():
2828
stylized_img = network(content_img, style_imgs, args.style_strength, args.patch_size, args.patch_stride,
29-
masks, args.interpolation_weights, args.preserve_color, False)
29+
masks, args.interpolation_weights, False)
3030

3131
imsave(stylized_img, 'stylized_image.jpg')
3232

0 commit comments

Comments
 (0)