From 5b71bca235eb772f4e7f1512e23636161f216571 Mon Sep 17 00:00:00 2001 From: "Eric.Lee2021" <305141918@qq.com> Date: Wed, 28 Apr 2021 01:12:27 +0800 Subject: [PATCH] Update train.py --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 2214e52..0214e9e 100644 --- a/train.py +++ b/train.py @@ -249,7 +249,7 @@ def trainer(ops,f_log): json.dump(epochs_loss_dict,f_loss,ensure_ascii=False,indent = 1,cls = JSON_Encoder) f_loss.close() - set_seed(random.randint(0,65535)) + # set_seed(random.randint(0,65535)) except Exception as e: print('Exception : ',e) # 打印异常 -- GitLab