Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bd649f

Browse files
authored
Fix #17
1 parent 3576701 commit 6bd649f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced_source/neural_style_tutorial.py

Lines changed: 1 addition & 1 deletion
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)