559116189318ac4731ff58cd78ebb793766812bc,transcribe.py,,,#,92

Before Change


        from decoder import BeamCTCDecoder

        decoder = BeamCTCDecoder(labels, beam_width=args.beam_width, top_paths=args.top_paths,
                                 space_index=labels.index(" "),
                                 blank_index=labels.index("_"), lm_path=args.lm_path,
                                 dict_path=args.dict_path, lm_alpha=args.lm_alpha, lm_beta=args.lm_beta,
                                 label_size=args.label_size, label_margin=args.label_margin)

After Change


        print(json.dumps(results))
    else:
        decoded_output, decoded_offsets = decoder.decode(out.data)
        for b in range(len(decoded_output)):
            for pi in range(max(args.top_paths, len(decoded_output[b]))):
                print(decoded_output[b][pi])
                if args.offsets:
                    print(decoded_offsets[b][pi])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 559116189318ac4731ff58cd78ebb793766812bc
Time: 2017-11-20
Author: seannaren@hotmail.com
File Name: transcribe.py
Class Name:
Method Name:


Project Name: analysiscenter/batchflow
Commit Name: 6fc1a9f5d2c9f57f22b17308bffe9dfe50c2c29f
Time: 2019-02-14
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/tests/datasetindex_test.py
Class Name:
Method Name: test_next_batch_stopiter_pass


Project Name: stanford-mast/nn_dataflow
Commit Name: aeff109058b43a6c854621743ab7aaced5469130
Time: 2017-06-28
Author: mgao12@stanford.edu
File Name: nn_dataflow/LoopBlocking.py
Class Name:
Method Name: skip


Project Name: chainer/chainercv
Commit Name: c633852494f2fc19a90dcdb7b7d1dead527d6311
Time: 2017-06-13
Author: yuyuniitani@gmail.com
File Name: chainercv/datasets/image_folder_dataset.py
Class Name:
Method Name: _parse_classification_dataset