Skip to content

Commit 62aa344

Browse files
authored
DOC: Fix undefined request_opts in MNIST download example
1 parent 4e0b558 commit 62aa344

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/tutorial-deep-learning-on-mnist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ for fname in data_sources.values():
105105
fpath = os.path.join(data_dir, fname)
106106
if not os.path.exists(fpath):
107107
print("Downloading file: " + fname)
108-
resp = requests.get(base_url + fname, stream=True, **request_opts)
108+
resp = requests.get(base_url + fname, stream=True)
109109
resp.raise_for_status() # Ensure download was succesful
110110
with open(fpath, "wb") as fh:
111111
for chunk in resp.iter_content(chunk_size=128):

0 commit comments

Comments
 (0)