We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f3b88b commit 6945a0cCopy full SHA for 6945a0c
content/tutorial-deep-learning-on-mnist.md
@@ -72,6 +72,19 @@ data_sources = {
72
**2.** Load the data. First check if the data is stored locally; if not, then
73
download it.
74
75
+```{code-cell} ipython3
76
+:tags: [remove-cell]
77
+# Use responsibly! When running notebooks locally, be sure to keep local
78
+# copies of the datasets to prevent unnecessary server requests
79
+headers = {
80
+ "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0"
81
+}
82
+request_opts = {
83
+ "headers": headers,
84
+ "params": {"raw": "true"},
85
86
+```
87
+
88
```{code-cell} ipython3
89
import requests
90
import os
0 commit comments