5a1dba682a5eccd4f0854553c07cd2b21909f1ec,pyannote/audio/labeling/tasks/resegmentation.py,Resegmentation,_decode,#Resegmentation#Any#Any#Any#Any#,312

Before Change


                best_speaker_indices, scores.sliding_window, labels=labels)

            // revert non-speech regions back to original
            speech = hypothesis.get_timeline().support()
            new_hypothesis = new_hypothesis.crop(speech)

        else:

After Change



        if self.lock_speech:
            non_speech = current_file["non_speech"].data
            active_speakers[non_speech[:len(active_speakers)].squeeze()] = 0

        // reconstruct annotation
        new_hypothesis = one_hot_decoding(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pyannote/pyannote-audio
Commit Name: 5a1dba682a5eccd4f0854553c07cd2b21909f1ec
Time: 2020-03-17
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/tasks/resegmentation.py
Class Name: Resegmentation
Method Name: _decode


Project Name: pyannote/pyannote-audio
Commit Name: 88e24ee24ff2152876552e7821e8b2f6dea0c313
Time: 2020-02-27
Author: hbredin@users.noreply.github.com
File Name: pyannote/audio/pipeline/overlap_detection.py
Class Name: OverlapDetection
Method Name: loss


Project Name: pyannote/pyannote-audio
Commit Name: c6e474fb13be0362c6f239f81c128f6d4c751da4
Time: 2019-07-01
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/tasks/resegmentation.py
Class Name: Resegmentation
Method Name: apply