From bb89c8592cf63454f597a3798a55ea0554b29d8d Mon Sep 17 00:00:00 2001 From: zhangzhang <1468872656@qq.com> Date: Wed, 22 Feb 2023 11:25:06 +0800 Subject: [PATCH] first-commit --- HousePrice/src/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HousePrice/src/train.py b/HousePrice/src/train.py index 9ef6319..5f19afa 100644 --- a/HousePrice/src/train.py +++ b/HousePrice/src/train.py @@ -34,7 +34,7 @@ def loss(z, y): optim = optim.Adam(model.parameters(), lr=learning_rate) step = 0 -right_num = 0 +right_num = 0. for epoch in range(1, EPOCHS+1): print(f'================第{epoch}轮================')