tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

edited cifar10_tutorial.py

Open anikethc opened this issue 1 year ago • 6 comments

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.

anikethc avatar Oct 12 '23 16:10 anikethc

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2604

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.

pytorch-bot[bot] avatar Oct 12 '23 16:10 pytorch-bot[bot]

Hi @svekars, I've made some changes and would appreciate it if you could review them. Thanks!

anikethc avatar Oct 12 '23 16:10 anikethc

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 avatar Oct 12 '23 23:10 anikethc

@anikethc at the very least, .py files should remain valid executable files, which is not the case after your changes, is it?

malfet avatar Oct 13 '23 02:10 malfet

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.

anikethc avatar Oct 13 '23 03:10 anikethc

Hi @malfet , Could you please review the commit.

anikethc avatar Nov 04 '23 23:11 anikethc

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.

github-actions[bot] avatar Sep 26 '24 00:09 github-actions[bot]