deepspeech-gpu
Advanced tools
Comparing version 0.6.0-alpha.12 to 0.6.0-alpha.13
@@ -32,3 +32,2 @@ #!/usr/bin/env node | ||
parser.addArgument(['--model'], {required: true, help: 'Path to the model (protocol buffer binary file)'}); | ||
parser.addArgument(['--alphabet'], {required: true, help: 'Path to the configuration file specifying the alphabet used by the network'}); | ||
parser.addArgument(['--lm'], {help: 'Path to the language model binary file', nargs: '?'}); | ||
@@ -59,3 +58,3 @@ parser.addArgument(['--trie'], {help: 'Path to the language model trie file created with native_client/generate_trie', nargs: '?'}); | ||
const model_load_start = process.hrtime(); | ||
var model = new Ds.Model(args['model'], args['alphabet'], args['beam_width']); | ||
var model = new Ds.Model(args['model'], args['beam_width']); | ||
const model_load_end = process.hrtime(model_load_start); | ||
@@ -62,0 +61,0 @@ console.error('Loaded model in %ds.', totalTime(model_load_end)); |
@@ -28,3 +28,2 @@ 'use strict'; | ||
* @param {string} aModelPath The path to the frozen model graph. | ||
* @param {string} aAlphabetConfigPath The path to the configuration file specifying the alphabet used by the network. See alphabet.h. | ||
* @param {number} aBeamWidth The beam width used by the decoder. A larger beam width generates better results at the cost of decoding time. | ||
@@ -31,0 +30,0 @@ * |
{ | ||
"name" : "deepspeech-gpu", | ||
"version" : "0.6.0-alpha.12", | ||
"version" : "0.6.0-alpha.13", | ||
"description" : "DeepSpeech NodeJS bindings", | ||
@@ -11,3 +11,3 @@ "main" : "./index", | ||
"license": "MPL-2.0", | ||
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.6.0-alpha.12#project-deepspeech", | ||
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.6.0-alpha.13#project-deepspeech", | ||
"files": [ | ||
@@ -14,0 +14,0 @@ "README.rst", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145226064
48
345