This commit is contained in:
552068321@qq.com 2022-11-08 09:20:47 +08:00
parent 0465da97a1
commit 317a71ed5f

View File

@ -467,6 +467,7 @@ def train(hyp, opt, device, data_list,id,callbacks): # hyp is path/to/hyp.yaml
# end training -----------------------------------------------------------------------------------------------------
if RANK in {-1, 0}:
LOGGER.info(f'\n{epoch - start_epoch + 1} epochs completed in {(time.time() - t0) / 3600:.3f} hours.')
print('##############',best)
for f in best:
print('##################',f)
if os.path.exists(f):