Skip to content

why w and h need to pow()? #6

@lunalulu

Description

@lunalulu

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~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions