We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 113f1b2 commit 22876adCopy full SHA for 22876ad
1 file changed
fmpose/lib/hrnet/lib/utils/transforms.py
@@ -21,7 +21,7 @@ def flip_back(output_flipped, matched_parts):
21
22
output_flipped = output_flipped[:, :, :, ::-1]
23
24
- # 因为你输入的是翻转后的图像,所以输出的热图他们对应的左右关节也是相反的(训练的时候,输入的是翻转后的图像,target对应的左右关节也是对调过来的)。
+ # Input is a flipped image, so the output heatmaps need left/right joints swapped.
25
for pair in matched_parts:
26
tmp = output_flipped[:, pair[0], :, :].copy()
27
output_flipped[:, pair[0], :, :] = output_flipped[:, pair[1], :, :]
0 commit comments