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

Skip to content

Commit 0bb55c5

Browse files
authored
Merge pull request #118 from pytorch/chsasank-patch-1
Typo in neural style tutorial
2 parents 3576701 + 6bd649f commit 0bb55c5

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)