25fd8102c482cd413db65054d2a80f79234a2aab,tune_decoder.py,,,#,81

Before Change


                                      normalize=True)

    logits = np.load(args.logits)
    batch_size = len(logits[0][0])

    results = []
    def result_callback(x):
        results.append(x)

After Change


        print("Result calculated:", f.get())
    print("Saving tuning results to: {}".format(args.output_path))
    with open(args.output_path, "w") as fh:
        json.dump(results, fh)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 25fd8102c482cd413db65054d2a80f79234a2aab
Time: 2017-11-09
Author: ryanleary@gmail.com
File Name: tune_decoder.py
Class Name:
Method Name:


Project Name: acl-org/acl-anthology
Commit Name: bfd66ac88c9f4d337150db9353a5247634633f57
Time: 2019-03-26
Author: dchiang@nd.edu
File Name: bin/auto_name_variants.py
Class Name:
Method Name:


Project Name: acl-org/acl-anthology
Commit Name: 340d46fde1be0940629c93004d453cef65b09442
Time: 2019-03-28
Author: dchiang@nd.edu
File Name: bin/auto_name_variants.py
Class Name:
Method Name: