From 7c4098c9c855c7297aade1c546a760a08dc916c9 Mon Sep 17 00:00:00 2001 From: zergtant Date: Mon, 8 Apr 2019 21:55:22 +0800 Subject: [PATCH] fixed #14 --- chapter3/3.1-logistic-regression.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter3/3.1-logistic-regression.ipynb b/chapter3/3.1-logistic-regression.ipynb index aa0fdb3f..6ceb757c 100644 --- a/chapter3/3.1-logistic-regression.ipynb +++ b/chapter3/3.1-logistic-regression.ipynb @@ -188,7 +188,7 @@ "net=LR() \n", "criterion=nn.CrossEntropyLoss() # 使用CrossEntropyLoss损失\n", "optm=torch.optim.Adam(net.parameters()) # Adam优化\n", - "epochs=1000 # 训练10000次\n" + "epochs=1000 # 训练1000次\n" ] }, {