diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-18 15:20:18 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-18 15:20:18 +0200 |
| commit | 178079e2fd3a9f6403824418e34383293a089100 (patch) | |
| tree | 84e89f623eb65e10b13d91d257e915e7502704d5 | |
| parent | 430c503e3429070355c4de346347cf8b6fec4282 (diff) | |
mogrifico!!!!
| -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): |
