pytorch_pose_proposal_networks
pytorch_pose_proposal_networks copied to clipboard
why w and h need to pow()?
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~