Skip to content

Commit 7a3f2a9

Browse files
committed
added revamped jupyter notebook tutorial and new google colab version
1 parent b8cf40f commit 7a3f2a9

6 files changed

+3700
-122
lines changed
3.42 KB
Loading

index.html

+7-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@
1414
<div class="home">
1515
<div class="materials-wrap">
1616
<div class="module-header">Spring 2020 Assignments</div>
17-
<div class="materials-item">
18-
<a>Assignments will show up here once they are released.</a>
19-
</div>
20-
2117
<!-- <div class="materials-item">
22-
<a href="assignments2019/assignment1/">
23-
Assignment #1: Image Classification, kNN, SVM, Softmax, Neural Network
18+
<a href="assignments2020/assignment1/">
19+
Assignment #1: Image Classification, kNN, SVM, Softmax, Fully-Connected Neural Network
2420
</a>
25-
</div>
21+
</div> -->
2622

23+
<!--
2724
<div class="materials-item">
2825
<a href="assignments2019/assignment2/">
2926
Assignment #2: Fully-Connected Nets, Batch Normalization, Dropout,
@@ -111,7 +108,7 @@
111108

112109
<div class="materials-item">
113110
<a href="setup-instructions/">
114-
Setup Instructions
111+
Software Setup
115112
</a>
116113
</div>
117114

@@ -122,8 +119,8 @@
122119
</div>
123120

124121
<div class="materials-item">
125-
<a href="jupyter-tutorial/">
126-
Jupyter Notebook Tutorial
122+
<a href="jupyter-colab-tutorial/">
123+
Jupyter Notebook / Google Colab Tutorial
127124
</a>
128125
</div>
129126
<!--

jupyter-colab-tutorial.md

+10-13
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,27 @@ Python code locally in your web browser. Jupyter notebooks
1313
make it very easy to tinker with code and execute it in bits
1414
and pieces; for this reason they are widely used in scientific
1515
computing.
16-
You can choose to run Google's flavor of Jupyter notebooks entirely
17-
in the cloud using Colab. Colab is basically Jupyter notebook on
18-
steroids: it's free, requires no setup, comes preinstalled with many packages
19-
so everyone has access to the same dependencies, is easy to share with the world,
20-
and has free access to hardware accelerators like GPUs and TPUs (with some caveats).
16+
Google has released a flavor of Jupyter notebooks called Colaboratory
17+
that runs entirely in the cloud. Colab is basically Jupyter notebook on
18+
steroids: it's free, requires no setup, comes preinstalled with many packages,
19+
is easy to share with the world, and benefits from free access to hardware
20+
accelerators like GPUs and TPUs (with some caveats).
2121

22-
If you wish to run this tutorial
23-
in Colab (recommended), click the `Open in Colab` link below.
22+
If you wish to run this tutorial in Colab, click the `Open in Colab` badge below.
2423

2524
<div>
26-
<a href="link to shared drive in cs231n gmail" target="_blank">
25+
<a href="https://colab.research.google.com/github/cs231n/cs231n.github.io/blob/master/python-colab.ipynb" target="_blank">
2726
<img class="colab-badge" src="/assets/badges/colab-open.svg" alt="Colab Notebook"/>
2827
</a>
2928
</div>
3029

31-
Otherwise, if you're reading this far, we're assuming you wish to run Jupyter notebooks locally. If your virtual environment was installed correctly (as per the [setup instructions]({{site.baseurl}}/setup-instructions/)), `jupyter notebook` should have been automatically installed. Ensure you have activated your environment before proceeding.
32-
33-
First, [download the notebook]() to a directory of your choosing. Then `cd` to that directory and run the following in your terminal:
30+
Otherwise, if you're reading this far, we're assuming you wish to run the notebook locally. If your virtual environment was installed correctly (as per the [setup instructions]({{site.baseurl}}/setup-instructions/)), activate it, then run `pip install notebook` to install Jupyter notebook. Next, [open the notebook](https://raw.githubusercontent.com/cs231n/cs231n.github.io/master/jupyter-notebook-tutorial.ipynb) and download it to a directory of your choice by right-clicking on the page and selecting `Save Page As`. Then `cd` to that directory and run the following in your terminal:
3431

3532
```
3633
jupyter notebook
3734
```
3835

39-
Once your notebook server is up and running, point your web browser to http://localhost:8888 to
36+
Once your notebook server is up and running, point your web browser to `http://localhost:8888` to
4037
start using your notebooks. If everything worked correctly, you should
4138
see a screen like this, showing all available notebooks in the current
4239
directory:
@@ -45,7 +42,7 @@ directory:
4542
<img src='/assets/ipython-tutorial/file-browser.png'>
4643
</div>
4744

48-
Click `Jupyter Notebook Tutorial` and follow the instructions in the notebook.
45+
Click `jupyter-notebook-tutorial.ipynb` and follow the instructions in the notebook. Enjoy!
4946

5047
<!-- If you click through to a notebook file, you will see a screen like this: -->
5148

0 commit comments

Comments
 (0)