Skip to content

Commit 01a34cd

Browse files
authored
Merge pull request #2496 from eukub/concat-to-fstring
сhanged concatenation of strings to f-strings to improve readability
2 parents c2db414 + 0fe215d commit 01a34cd

File tree

1 file changed

+1
-1
lines changed
  • body/human_pose/ambiguity_aware/scripts

1 file changed

+1
-1
lines changed

body/human_pose/ambiguity_aware/scripts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def main():
169169
# read_name = f"../../unsupervised_mesh/data/h36m_{mode}_pred_3d_mesh.h5"
170170
save_name = f"../data/{prefix}_{mode}_pred_3d.h5"
171171
if args.eval_suffix is not None:
172-
save_name = save_name[:-3] + "_" + args.eval_suffix + ".h5"
172+
save_name = f"{save_name[:-3]}_{args.eval_suffix}.h5"
173173

174174
# eval mode, load the pretrained model and generate the 3d prediction of all 3ds
175175
if not config.TRAIN.PRETRAIN_LIFTER:

0 commit comments

Comments
 (0)