From 62aa344d6ae7fdbf737c3bba4423c6a5277039f7 Mon Sep 17 00:00:00 2001 From: EishaEnan <62539280+EishaEnan@users.noreply.github.com> Date: Wed, 15 Apr 2026 21:17:31 +1000 Subject: [PATCH] DOC: Fix undefined request_opts in MNIST download example --- content/tutorial-deep-learning-on-mnist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorial-deep-learning-on-mnist.md b/content/tutorial-deep-learning-on-mnist.md index 5bf59f4a..cdef5566 100644 --- a/content/tutorial-deep-learning-on-mnist.md +++ b/content/tutorial-deep-learning-on-mnist.md @@ -105,7 +105,7 @@ for fname in data_sources.values(): fpath = os.path.join(data_dir, fname) if not os.path.exists(fpath): print("Downloading file: " + fname) - resp = requests.get(base_url + fname, stream=True, **request_opts) + resp = requests.get(base_url + fname, stream=True) resp.raise_for_status() # Ensure download was succesful with open(fpath, "wb") as fh: for chunk in resp.iter_content(chunk_size=128):