From 54519dbc2c38855d2f27f6fe6d547fc9b395ef35 Mon Sep 17 00:00:00 2001 From: HRJ Date: Fri, 12 Jan 2024 09:41:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0windows=E4=B8=8B?= =?UTF-8?q?=E5=85=B3=E9=97=ADssl=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 因为windows下下载cifar10数据集报错SSLCertVerificationError,所以加入了修正 --- ...40\345\214\226\347\232\204\344\275\277\347\224\250.ipynb" | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git "a/\346\234\200\345\244\247\346\261\240\345\214\226\347\232\204\344\275\277\347\224\250.ipynb" "b/\346\234\200\345\244\247\346\261\240\345\214\226\347\232\204\344\275\277\347\224\250.ipynb" index 97a9e93..4a39461 100644 --- "a/\346\234\200\345\244\247\346\261\240\345\214\226\347\232\204\344\275\277\347\224\250.ipynb" +++ "b/\346\234\200\345\244\247\346\261\240\345\214\226\347\232\204\344\275\277\347\224\250.ipynb" @@ -26,7 +26,10 @@ "from torch import nn # 包含神经网络模型\n", "import torchvision # 包含常用的数据集\n", "from torch.utils.data import DataLoader\n", - "from torch.utils.tensorboard import SummaryWriter\n" + "from torch.utils.tensorboard import SummaryWriter\n", + "\n", + "import ssl\n", + "ssl._create_default_https_context = ssl._create_unverified_context\n" ] }, { -- Gitee