Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Variable += value not supported. Use variable.assign_add(value) to modify the variable value and variable = variable + value to get a new Tensor object. #2

Open
GPoleto27 opened this issue Jun 5, 2021 · 0 comments

Comments

@GPoleto27
Copy link

GPoleto27 commented Jun 5, 2021

Code blocks 17, 21 and 22 throws:
RuntimeError: Variable += value not supported. Use variable.assign_add(value) to modify the variable value and variable = variable + value to get a new Tensor object.

Found solution at StackOverflow.

I will be creating a fork and pull request.

GPoleto27 pushed a commit to GPoleto27/Neural-Style-Transfer that referenced this issue Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant