tutorials
tutorials copied to clipboard
edited cifar10_tutorial.py
Fixes #792
Description
I've set the code blocks to be non-executable. However, the sections titled "2. Define a Convolution Neural Network" and "3. Define a Loss function and optimizer" should retain their executability to ensure error-free execution. I've also cleaned up the code by removing extraneous symbols , fixed the imaged which was not being rendered correctly and made the links clickable.
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2604
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
This comment was automatically generated by Dr. CI and updates every 15 minutes.
Hi @svekars, I've made some changes and would appreciate it if you could review them. Thanks!
Sorry I will keep that in mind for next issue. I was referring to the colab file the image isnt rendering correctly and all the link are unclickable in the colab https://colab.research.google.com/github/pytorch/tutorials/blob/gh-pages/_downloads/cifar10_tutorial.ipynb#scrollTo=N1BibYLW8C4N .
@anikethc at the very least, .py files should remain valid executable files, which is not the case after your changes, is it?
Everything was working fine when I executed the ipynb in the google colab https://colab.research.google.com/drive/1GOhFgmRs-nMF9W7eJjcmBahk6SbBJLXS?usp=sharing maybe something went wrong when I converted it into .py file. I will look into it. Thank you for being patient with me.
Hi @malfet , Could you please review the commit.
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale
.
Feel free to remove the Stale
label if you feel this was a mistake.
If you are unable to remove the Stale
label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale
label.Stale
pull requests will automatically be closed after 30 days of inactivity.