Fix options.py bug
This commit is contained in:
parent
928e7026c2
commit
0822792d79
|
@ -116,7 +116,6 @@ def check_resume(opt, resume_iter):
|
|||
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
|
||||
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
|
||||
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
|
||||
else:
|
||||
opt['path'][pt_key] = osp.join(opt['path']['models'],
|
||||
'{}_{}.pth'.format(resume_iter, k))
|
||||
logger.info('Set model [%s] to %s' % (k, opt['path'][pt_key]))
|
||||
opt['path'][pt_key] = osp.join(opt['path']['models'],
|
||||
'{}_{}.pth'.format(resume_iter, k))
|
||||
logger.info('Set model [%s] to %s' % (k, opt['path'][pt_key]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user