Pytorch-Tutorials
Pytorch-Tutorials copied to clipboard
TypeError: backward() got an unexpected keyword argument 'retain_variables'
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

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