Skip to content

Embeddings.crop mode 'loose', 'strict' and 'center'. #813

Answered by hadware
Gabrielk99 asked this question in Q&A
Discussion options

You must be logged in to vote

Alright, i spent a significant amont of time working on pyannote-core (which implements most of primitives pyannote-audio relies on), so I might be able to answer your question. You might also want to check examples from the documentation. Quoting the opus originale:

In ‘strict’ mode, only indices of segments fully included in ‘focus’ support are returned. In ‘loose’ mode, indices of any intersecting segments are returned. In ‘center’ mode, first and last positions are chosen to be the positions whose centers are the closest to ‘focus’ start and end times. Defaults to ‘loose’.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gabrielk99
Comment options

Answer selected by hbredin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants