This commit is contained in:
552068321@qq.com 2022-11-08 09:11:00 +08:00
parent e994b2ff20
commit e31203fafb

View File

@ -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 (wd.parent if evolve else wd).mkdir(parents=True, exist_ok=True) # make dir
# 获取版本号,项目名称 # 获取版本号,项目名称
#version, pro_name = get_version_name(pro) #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' #last, best = w / 'last.pt', w / 'best.pt'
# Hyperparameters # Hyperparameters