8f83be1bda9dbb3cb9f975a67f12b61550aab904,scripts/speech_activity_detection.py,,test,#Any#Any#Any#Any#Any#,353

Before Change



    for test_file in getattr(protocol, subset)():

        uri = test_file["uri"]
        wav = test_file["wav"]
        soft = aggregation.apply(wav)
        hard = binarizer.apply(soft, dimension=1)

        with open(SOFT_PKL.format(uri=uri), "w") as fp:

After Change


        soft = aggregation.apply(test_file)
        hard = binarizer.apply(soft, dimension=1)

        uri = get_unique_identifier(test_file)

        path = SOFT_PKL.format(uri=uri)
        mkdir_p(os.path.dirname(path))
        with open(path, "w") as fp:
            pickle.dump(soft, fp)

        path = HARD_JSON.format(uri=uri)
        mkdir_p(os.path.dirname(path))
        with open(path, "w") as fp:
            pyannote.core.json.dump(hard, fp)

        try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: pyannote/pyannote-audio
Commit Name: 8f83be1bda9dbb3cb9f975a67f12b61550aab904
Time: 2016-12-14
Author: bredin@limsi.fr
File Name: scripts/speech_activity_detection.py
Class Name:
Method Name: test


Project Name: pyannote/pyannote-audio
Commit Name: 8f83be1bda9dbb3cb9f975a67f12b61550aab904
Time: 2016-12-14
Author: bredin@limsi.fr
File Name: scripts/change_detection.py
Class Name:
Method Name: test


Project Name: pyannote/pyannote-audio
Commit Name: 8f83be1bda9dbb3cb9f975a67f12b61550aab904
Time: 2016-12-14
Author: bredin@limsi.fr
File Name: scripts/speech_activity_detection.py
Class Name:
Method Name: test


Project Name: pyannote/pyannote-audio
Commit Name: 8f83be1bda9dbb3cb9f975a67f12b61550aab904
Time: 2016-12-14
Author: bredin@limsi.fr
File Name: scripts/speaker_embedding.py
Class Name:
Method Name: embed