每轮返回中间值
This commit is contained in:
parent
5d3b268958
commit
1e8a08cf60
@ -325,6 +325,7 @@ def train(hyp, opt, device, data_list,id,getsomething,callbacks): # hyp is path
|
||||
report.rate_of_progess = ((i + 1) / num_epochs) * 100
|
||||
report.progress = (i + 1)
|
||||
report.end_time = datetime.now()
|
||||
reportAccu = round(reportAccu,2)
|
||||
report.precision[0].value.append(reportAccu)
|
||||
if (i+1) == num_epochs:
|
||||
report.isfinish = 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user