From 0fe215da8b897492398aa5a88d9e12605f96316a Mon Sep 17 00:00:00 2001 From: eukub Date: Sat, 23 Dec 2023 18:30:21 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81hanged=20concatenation=20of=20strings=20t?= =?UTF-8?q?o=20f-strings=20to=20improve=20readability=20and=20unify=20with?= =?UTF-8?q?=20the=20rest=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- body/human_pose/ambiguity_aware/scripts/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/body/human_pose/ambiguity_aware/scripts/main.py b/body/human_pose/ambiguity_aware/scripts/main.py index 64e33fd..2ff3e5d 100644 --- a/body/human_pose/ambiguity_aware/scripts/main.py +++ b/body/human_pose/ambiguity_aware/scripts/main.py @@ -169,7 +169,7 @@ def main(): # read_name = f"../../unsupervised_mesh/data/h36m_{mode}_pred_3d_mesh.h5" save_name = f"../data/{prefix}_{mode}_pred_3d.h5" if args.eval_suffix is not None: - save_name = save_name[:-3] + "_" + args.eval_suffix + ".h5" + save_name = f"{save_name[:-3]}_{args.eval_suffix}.h5" # eval mode, load the pretrained model and generate the 3d prediction of all 3ds if not config.TRAIN.PRETRAIN_LIFTER: