Skip to content

iou computation #6

@kindeQi

Description

@kindeQi

I have found in the train.py the iou function
start_i, end_i = interval[0], interval[1]

intersection = max(0, min(end, end_i) - max(start, start_i))
union = min(max(end, end_i) - min(start, start_i), end - start + end_i - start_i)
overlap = float(intersection) / (union + 1e-8)

when the start time is negative, whether the iou should be 0 anyway?

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