Skip to content

question about shift 2 in upsampleAlignments #5

@shellyfun

Description

@shellyfun

dear author,when talking about ‘upsampleAlignments’ function, there is a code like ti1 = np.repeat(np.clip(2 + np.arange(h) // repeatFactor + neighborsMask[:, 0, 0, 0], 0, paddedPreviousAlignments.shape[0] - 1).reshape(h, 1), w, axis=1).reshape(h * w), im just wondering why 2 was used here, what about shift 1? it will be very glad to receiving ur answer!

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