pytorch_pose_proposal_networks icon indicating copy to clipboard operation
pytorch_pose_proposal_networks copied to clipboard

why w and h need to pow()?

Open lunalulu opened this issue 5 years ago • 0 comments

When parsing the network output, why are the width and height of key points calculated as follows: output[:, :, :, 4:96:6] = output[:, :, :, 4:96:6].pow(2) * cfg.IMG_SIZE output[:, :, :, 5:96:6] = output[:, :, :, 5:96:6].pow(2) * cfg.IMG_SIZE why not below: output[:, :, :, 4:96:6] = output[:, :, :, 4:96:6] * cfg.IMG_SIZE output[:, :, :, 5:96:6] = output[:, :, :, 5:96:6]* cfg.IMG_SIZE thanks~

lunalulu avatar May 21 '19 07:05 lunalulu