Skip to content

Commit

Permalink
Add Google_Colab_startup_PyTorch_Challenge.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleTom committed Dec 17, 2018
1 parent 872afca commit 0e8fe0e
Show file tree
Hide file tree
Showing 2 changed files with 410 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.tex.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,20 @@ I believe that I have attributed all materials, except the Udacity PyTorch Schol
* [Lesson 3](notes/lesson-3.md)
* [Lesson 4](notes/lesson-4.md)

### Google Colab starter code for `Image Classifier Project.ipynb`
It took me a while to work out how to get Google Colab setup for this project:

* Install newly released PyTorch 1.0.0
* Automatically download and unzip the dataset
* Check and warn if GPU is not enabled
* Helper functions
* `image_show()`: Convert and show an image without the default gridlines
* `label_to_text()`: Convert a tensor label to its label from `cat_to_name.json`

Here's the setup code: [`Google_Colab_startup_PyTorch_Challenge.ipynb`](code/Google_Colab_startup_PyTorch_Challenge.ipynb)

### Buy me a beer^H^H^H^Hcoconut
I took many hours creating these notes.
I took many hours creating this content which I hope will make your life easier.

If you have found these notes useful and feel moved to, please donate so I can buy a coconut:

Expand Down
397 changes: 397 additions & 0 deletions code/Google_Colab_startup_PyTorch_Challenge.ipynb

Large diffs are not rendered by default.

0 comments on commit 0e8fe0e

Please sign in to comment.