From 42b5f6439dc95264fb337ddd0313811e61327f04 Mon Sep 17 00:00:00 2001 From: Eduardo Patrocinio Date: Fri, 28 Nov 2025 17:07:34 -0500 Subject: [PATCH] Fix GitHub URL for MNIST archive download Updated URL from: https://github.com/pytorch/tutorials/raw/main/_static/ To: https://github.com/pytorch/tutorials/raw/refs/heads/main/_static/ Fixes issue #3569 --- beginner_source/nn_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/nn_tutorial.py b/beginner_source/nn_tutorial.py index e04815bd27e..3dac644322f 100644 --- a/beginner_source/nn_tutorial.py +++ b/beginner_source/nn_tutorial.py @@ -49,7 +49,7 @@ PATH.mkdir(parents=True, exist_ok=True) -URL = "https://github.com/pytorch/tutorials/raw/main/_static/" +URL = "https://github.com/pytorch/tutorials/raw/refs/heads/main/_static/" FILENAME = "mnist.pkl.gz" if not (PATH / FILENAME).exists():