Update 301_regression.ipynb

This commit is contained in:
Jerome
2018-07-12 17:08:43 +08:00
committed by GitHub
parent 0212a9d368
commit 840ed35b9c

View File

@ -125,7 +125,7 @@
},
"outputs": [],
"source": [
"optimizer = torch.optim.SGD(net.parameters(), lr=0.4)\n",
"optimizer = torch.optim.SGD(net.parameters(), lr=0.2)\n",
"loss_func = torch.nn.MSELoss() # this is for regression mean squared loss"
]
},