From e31203fafb44611a63f559204639094a2c2f2f3c Mon Sep 17 00:00:00 2001 From: "552068321@qq.com" Date: Tue, 8 Nov 2022 09:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/yolov5/train_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/yolov5/train_server.py b/app/yolov5/train_server.py index fe799d9..b913f63 100644 --- a/app/yolov5/train_server.py +++ b/app/yolov5/train_server.py @@ -106,7 +106,7 @@ def train(hyp, opt, device, data_list,id,callbacks): # hyp is path/to/hyp.yaml (wd.parent if evolve else wd).mkdir(parents=True, exist_ok=True) # make dir # 获取版本号,项目名称 #version, pro_name = get_version_name(pro) - best = Path(opt.savemodel)#w + pro_name + '_' + 'R-ODY' + version + '.pt' + best = opt.savemodel#w + pro_name + '_' + 'R-ODY' + version + '.pt' #last, best = w / 'last.pt', w / 'best.pt' # Hyperparameters