5a1dba682a5eccd4f0854553c07cd2b21909f1ec,pyannote/audio/labeling/tasks/resegmentation.py,ResegmentationGenerator,specifications,#ResegmentationGenerator#,181

Before Change


        }

        for key, classes in self.file_labels_.items():
            specs[key] = {"classes": classes}

        return specs

class Resegmentation(LabelingTask):

After Change


        if self.allow_overlap:
            // when allowing overlap, multiple speakers can be active at the
            // same time (hence multi-label classification task)
            specs["task"] = Task(type=TaskType.MULTI_LABEL_CLASSIFICATION,
                                 output=TaskOutput.SEQUENCE)
            specs["y"] = {"classes": self.segment_labels_}

        else:
            // when overlap is not allowed, only one speaker can be active at
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: ResegmentationGenerator
Method Name: specifications


Project Name: pyannote/pyannote-audio
Commit Name: ab7aeee538e36197e6d69a7526bebd2dd73950e8
Time: 2020-04-03
Author: hbredin@users.noreply.github.com
File Name: pyannote/audio/labeling/tasks/speech_activity_detection.py
Class Name: SpeechActivityDetectionGenerator
Method Name: specifications


Project Name: pyannote/pyannote-audio
Commit Name: eed42b03c6df523d0c00b0fe30c8df7b2fd47abb
Time: 2019-11-13
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/tasks/base.py
Class Name: LabelingTaskGenerator
Method Name: specifications