Skip to content

some questions about ”get_bboxes“ in "grid_head.py" file #1

@zimenglan-sysu-512

Description

@zimenglan-sysu-512

hi @siyuanren
why do u get grid_points by dividing 2W instead of W in these two lines? and what do these lines do as below?

        for i in range(9):
            xs[i::9] = xs[i::9] + base[i//3]
            ys[i::9] = ys[i::9] + base[i%3]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions