Pytorch-Tutorials icon indicating copy to clipboard operation
Pytorch-Tutorials copied to clipboard

TypeError: backward() got an unexpected keyword argument 'retain_variables'

Open MiteshhRajan opened this issue 7 years ago • 1 comments

I am trying the tutorial for style transfer but getting this error. I have tried it with both Python 3.6 and 2.7. none of them worked

image

MiteshhRajan avatar Jul 19 '18 14:07 MiteshhRajan

This tutorial is no longer maintained. Please try the official one here: https://pytorch.org/tutorials/advanced/neural_style_tutorial.html

alexis-jacq avatar Jul 19 '18 15:07 alexis-jacq