From 178079e2fd3a9f6403824418e34383293a089100 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 18 Jun 2018 15:20:18 +0200 Subject: mogrifico!!!! --- live-mogrify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'live-mogrify.py') 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): -- cgit v1.2.3-70-g09d2