diff options
| -rw-r--r-- | live-mogrify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/live-mogrify.py b/live-mogrify.py index a0a4015..0d4f534 100644 --- a/live-mogrify.py +++ b/live-mogrify.py @@ -112,7 +112,7 @@ def process_live_input(opt, data_opt, rpc_client): break if data_opt.load_checkpoint is True: - checkpoint_fn = "%s_net_%s.pth".format(data_opt.epoch, 'G') + checkpoint_fn = "{}_net_{}.pth".format(data_opt.epoch, 'G') checkpoint_path = os.path.join(opt.checkpoints_dir, opt.module_name, data_opt.checkpoint_name) checkpoint_fn_path = os.path.join(checkpoint_path, checkpoint_fn) if os.path.exists(checkpoint_fn_path): |
