1d88c5816e7a176d53faaf12d5edbc24f0ee562f,pyannote/audio/applications/change_detection.py,,main,#,252

Before Change


        model_pt = Path(arguments["<model.pt>"])
        model_pt = model_pt.expanduser().resolve(strict=True)

        output_dir = Path(arguments["<output_dir>"])
        output_dir = output_dir.expanduser().resolve(strict=False)

        // TODO. create README file in <output_dir>

        step = arguments["--step"]

After Change


    device = torch.device("cuda") if gpu else torch.device("cpu")

    // HACK to "book" GPU as soon as possible
    _ = torch.Tensor([0]).to(device)

    if arguments["train"]:
        experiment_dir = Path(arguments["<experiment_dir>"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pyannote/pyannote-audio
Commit Name: 1d88c5816e7a176d53faaf12d5edbc24f0ee562f
Time: 2019-08-01
Author: hbredin@users.noreply.github.com
File Name: pyannote/audio/applications/change_detection.py
Class Name:
Method Name: main


Project Name: pyannote/pyannote-audio
Commit Name: 5c1eda942eeaef4c0278dd8aa2e931e6d77ea888
Time: 2019-11-12
Author: bredin@limsi.fr
File Name: pyannote/audio/applications/domain_classification.py
Class Name:
Method Name: main


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: 9348d242d3116d0fd1657e919b3fff90e5d2fff3
Time: 2018-12-10
Author: matthijsv@nvidia.com
File Name: example_configs/speech2text/ds2_small_1gpu.py
Class Name:
Method Name: