Skip to content

Commit 6bd649f

Browse files
authored
1 parent 3576701 commit 6bd649f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced_source/neural_style_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ def closure():
581581
style_score.data[0], content_score.data[0]))
582582
print()
583583

584-
return style_score + style_score
584+
return style_score + content_score
585585

586586
optimizer.step(closure)
587587

0 commit comments

Comments
 (0)