Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment: make it possible to provide boundaries, not only intervals #392

Open
Mintas opened this issue Nov 11, 2024 · 0 comments · May be fixed by #393
Open

Segment: make it possible to provide boundaries, not only intervals #392

Mintas opened this issue Nov 11, 2024 · 0 comments · May be fixed by #393

Comments

@Mintas
Copy link

Mintas commented Nov 11, 2024

In some use-cases we have boundaries as list of points like [0, 10, 21, 55, 365] (peak positions, breakpoints, etc.), to make mir_eval.segment applicable we have to turn those points into intervals. But one can notice, that some of the evaluation methods actually convert intervals back to boundaries.

I suppose, that would be convenient to have api allowing users to avoid unnecessary conversions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant