Skip to content

Commit 22876ad

Browse files
committed
Translate comment in transforms.py from Chinese to English
1 parent 113f1b2 commit 22876ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fmpose/lib/hrnet/lib/utils/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def flip_back(output_flipped, matched_parts):
2121

2222
output_flipped = output_flipped[:, :, :, ::-1]
2323

24-
# 因为你输入的是翻转后的图像,所以输出的热图他们对应的左右关节也是相反的(训练的时候,输入的是翻转后的图像,target对应的左右关节也是对调过来的)。
24+
# Input is a flipped image, so the output heatmaps need left/right joints swapped.
2525
for pair in matched_parts:
2626
tmp = output_flipped[:, pair[0], :, :].copy()
2727
output_flipped[:, pair[0], :, :] = output_flipped[:, pair[1], :, :]

0 commit comments

Comments
 (0)