-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Fix torch_vision_tutorial.rst #2444
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
Conversation
Refer to data_tutorial.py
Add 2 lines of code to control the environment, if used with Conda
Change the following code line: labels = torch.ones((num_objs,), dtype=torch.int64) to label = torch.as_tensor(obj_ids, dtype=torch.int64)
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2444
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3aef9fe: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
✅ Deploy Preview for pytorch-tutorials-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
I'm not sure why we are modifying all these other files apart from |
@svekars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ver2king your PR currently includes 16 files, including your ".idea" folder.
On the tutorial change itself, you need to update usages of the variable after the rename.
Also please verify the changes by running the code, don't submit blindly.
Based on the proposed review for this PR
Based on the proposed review for this PR
Based on the proposed request for this PR
Based on the proposed request for this PR
Based on the proposed request for this PR
Based on the proposed request for this PR
Update the file based on the proposed request for this PR (Changes in the file are not relevant to the intended tutorial purpose)
Fixes #960
Description
Checklist
labels = torch.ones((num_objs,), dtype=torch.int64)
to the following:
label = torch.as_tensor(obj_ids, dtype=torch.int64)
cc @datumbox @nairbv @fmassa @NicolasHug @YosuaMichael