ac2d009eb407b03bc29df68a9ec7792878ae3eaf,scripts/speaker_embedding.py,,test,#Any#Any#Any#Any#Any#,367

Before Change



    duration = os.path.basename(train_dir)
    if "-" in duration:
        raise NotImplementedError(
            "Testing of variable-duration embedding is not supported yet.")
    duration = float(duration)

    config_dir = os.path.dirname(os.path.dirname(os.path.dirname(train_dir)))
    config_yml = config_dir + "/config.yml"

After Change



    train_dir = os.path.dirname(os.path.dirname(tune_dir))

    min_duration = None
    duration = os.path.basename(train_dir)
    if "-" in duration:
        min_duration, duration = duration.split("-")
        min_duration = float(min_duration)
    duration = float(duration)

    config_dir = os.path.dirname(os.path.dirname(os.path.dirname(train_dir)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pyannote/pyannote-audio
Commit Name: ac2d009eb407b03bc29df68a9ec7792878ae3eaf
Time: 2016-11-23
Author: bredin@limsi.fr
File Name: scripts/speaker_embedding.py
Class Name:
Method Name: test


Project Name: pyannote/pyannote-audio
Commit Name: ac2d009eb407b03bc29df68a9ec7792878ae3eaf
Time: 2016-11-23
Author: bredin@limsi.fr
File Name: scripts/speaker_embedding.py
Class Name:
Method Name: tune


Project Name: pyannote/pyannote-audio
Commit Name: ac2d009eb407b03bc29df68a9ec7792878ae3eaf
Time: 2016-11-23
Author: bredin@limsi.fr
File Name: scripts/speaker_embedding.py
Class Name:
Method Name: embed