b8e34cc75b5b655faeab651a8070c068da32c319,tune_decoder.py,,,#,14

Before Change


parser.add_argument("--model-path", default="models/deepspeech_final.pth",
                    help="Path to model file created by training")
parser.add_argument("--logits", default="", type=str, help="Path to logits from test.py")
parser.add_argument("--test-manifest", metavar="DIR",
                    help="path to validation manifest csv", default="data/test_manifest.csv")
parser.add_argument("--num-workers", default=16, type=int, help="Number of parallel decodes to run")
parser.add_argument("--output-path", default="tune_results.json", help="Where to save tuning results")
parser.add_argument("--lm-alpha-from", default=1, type=float, help="Language model weight start tuning")
parser.add_argument("--lm-alpha-to", default=3.2, type=float, help="Language model weight end tuning")

After Change



model = DeepSpeech.load_model(args.model_path)

saved_output = np.load(args.saved_output)


def init(beam_width, blank_index, lm_path):
    global decoder
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: b8e34cc75b5b655faeab651a8070c068da32c319
Time: 2019-07-25
Author: sean.narenthiran@digitalreasoning.com
File Name: tune_decoder.py
Class Name:
Method Name:


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: f917503ffe4a21d2b1148d8cb13b89b834517d76
Time: 2019-04-22
Author: eriklindernoren@live.se
File Name: detect.py
Class Name:
Method Name:


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: ac7bb33dd978e2bf6ecb0cf055dd6bf6c9c1ea05
Time: 2019-04-19
Author: eriklindernoren@live.se
File Name: train.py
Class Name:
Method Name: