From 0822792d79d7e1052d0fb1cfa851e1bb9ae3e13f Mon Sep 17 00:00:00 2001 From: James Betker Date: Fri, 29 Oct 2021 14:47:31 -0600 Subject: [PATCH] Fix options.py bug --- codes/utils/options.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/codes/utils/options.py b/codes/utils/options.py index 613cb145..c0cadb6b 100644 --- a/codes/utils/options.py +++ b/codes/utils/options.py @@ -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]))