ca27a9b77e569c8c990e890acb6f8f540d2d99c4,transcribe.py,,,#,12

Before Change



    parser = SpectrogramParser(audio_conf, normalize=True)

    t0 = time.time()
    spect = parser.parse_audio(args.audio_path).contiguous()
    spect = spect.view(1, 1, spect.size(0), spect.size(1))
    out = model(Variable(spect, volatile=True))
    out = out.transpose(0, 1)  // TxNxH
    decoded_output = decoder.decode(out.data)
    t1 = time.time()

    print(decoded_output[0])
    print("Decoded {0:.2f} seconds of audio in {1:.2f} seconds".format(spect.size(3) * audio_conf["window_stride"],
                                                                       t1 - t0), file=sys.stderr)

After Change



    print(decoded_output[0])
    if args.offsets:
        print(decoded_offsets[0])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: ca27a9b77e569c8c990e890acb6f8f540d2d99c4
Time: 2017-10-27
Author: seannaren@hotmail.com
File Name: transcribe.py
Class Name:
Method Name:


Project Name: IndicoDataSolutions/finetune
Commit Name: 244c6805387c01208c0307fcf8895271074dde94
Time: 2020-04-23
Author: benlt@hotmail.co.uk
File Name: finetune/datasets/reuters.py
Class Name:
Method Name:


Project Name: IndicoDataSolutions/finetune
Commit Name: a234bc05519cf34faf992e8b54e6583b6cb513c2
Time: 2020-02-04
Author: benlt@hotmail.co.uk
File Name: finetune/datasets/reuters.py
Class Name:
Method Name:


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: ca27a9b77e569c8c990e890acb6f8f540d2d99c4
Time: 2017-10-27
Author: seannaren@hotmail.com
File Name: transcribe.py
Class Name:
Method Name: