Skip to content

Conversation

@Suhas-G
Copy link
Contributor

@Suhas-G Suhas-G commented May 31, 2023

Fixes #1736

Description

Set model to evaluation mode along with requires_grad_(False) in Neural Style Transfer tutorial.

Checklist

  • The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • Only one issue is addressed in this pull request
  • Labels from the issue that this PR is fixing are added to this pull request
  • No unnessessary issues are included into this pull request.

@facebook-github-bot
Copy link
Contributor

Hi @Suhas-G!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@netlify
Copy link

netlify bot commented May 31, 2023

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 2a9cee6
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/6477bc2cfb7f230008b2a7fd
😎 Deploy Preview https://deploy-preview-2371--pytorch-tutorials-preview.netlify.app/advanced/neural_style_tutorial
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added docathon-h1-2023 A label for the docathon in H1 2023 easy labels May 31, 2023
@svekars svekars requested a review from kit1980 May 31, 2023 21:50
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@svekars svekars merged commit 4673b14 into pytorch:main May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docathon-h1-2023 A label for the docathon in H1 2023 easy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Neural style transfer tutorial requires_grad_ error

4 participants