Skip to content

Commit 383bd78

Browse files
authored
update for network forward function
1 parent ac3ba51 commit 383bd78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self, layers=[1, 6, 11, 20]):
1717
self.adain = AdaIN()
1818
self.decorator = StyleDecorator()
1919

20-
def forward(self, content, styles, style_strength=1.0, patch_size=3, patch_stride=1, masks=None, interpolation_weights=None, preserve_color=False, train=False):
20+
def forward(self, content, styles, style_strength=1.0, patch_size=3, patch_stride=1, masks=None, interpolation_weights=None, train=False):
2121
if interpolation_weights is None:
2222
interpolation_weights = [1/len(styles)] * len(styles)
2323
if masks is None:

0 commit comments

Comments
 (0)