Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restored fix for gh-63
  • Loading branch information
melissawm committed Apr 5, 2021
commit 6945a0cee6dc11cd51caeccd804dd6f274a6d64f
13 changes: 13 additions & 0 deletions content/tutorial-deep-learning-on-mnist.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,19 @@ data_sources = {
**2.** Load the data. First check if the data is stored locally; if not, then
download it.

```{code-cell} ipython3
:tags: [remove-cell]
# Use responsibly! When running notebooks locally, be sure to keep local
# copies of the datasets to prevent unnecessary server requests
headers = {
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0"
}
request_opts = {
"headers": headers,
"params": {"raw": "true"},
}
```

```{code-cell} ipython3
import requests
import os
Expand Down