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():