diff --git a/README.md b/README.md index 2bfa91c1..3de1a6fb 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ See the help output with `./deepspeech -h` and the [native client README](native Pre-built binaries that can be used for performing inference with a trained model can be found on TaskCluster. You'll need to download the appropriate Python wheel package. -[deepspeech-0.0.1-cp27-cp27mu-manylinux1_x86_64.whl (Python 2.7, Linux / amd64)](https://index.taskcluster.net/v1/task/project.deepspeech.deepspeech.native_client.master.cpu/artifacts/public/deepspeech-0.0.1-cp27-cp27mu-manylinux1_x86_64.whl) +[deepspeech-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl (Python 2.7, Linux / amd64)](https://index.taskcluster.net/v1/task/project.deepspeech.deepspeech.native_client.master.cpu/artifacts/public/deepspeech-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl) [Other configurations](https://tools.taskcluster.net/index/artifacts/#project.deepspeech.deepspeech.native_client.master/project.deepspeech.deepspeech.native_client.master) @@ -81,8 +81,8 @@ See [client.py](native_client/client.py) for an example of how to use the bindin You can download the Node.JS bindings using `util/taskcluster.py` and install them with `npm`: ```bash -python util/taskcluster.py --target . --artifact deepspeech-0.0.1.tgz -npm install deepspeech-0.0.1.tgz +python util/taskcluster.py --target . --artifact deepspeech-0.0.2.tgz +npm install deepspeech-0.0.2.tgz ``` See [client.js](native_client/client.js) for an example of how to use the bindings. diff --git a/native_client/README.md b/native_client/README.md index 53bef17b..dea653e8 100644 --- a/native_client/README.md +++ b/native_client/README.md @@ -22,9 +22,9 @@ If you're looking to train a model, you now have a `libctc_decoder_with_kenlm.so For Python bindings, use `--artifact file_name`, where `file_name` is the appropriate file for your Python version and platform. The names of the available artifacts can be found on the listing page: [Linux](https://tools.taskcluster.net/index/artifacts/project.deepspeech.deepspeech.native_client.master/cpu) or [macOS](https://tools.taskcluster.net/index/artifacts/project.deepspeech.deepspeech.native_client.master/osx). -For example, for Python 2.7 bindings on Linux, you can do `python util/taskcluster.py --target /destination --artifact deepspeech-0.0.1-cp27-cp27mu-manylinux1_x86_64.whl`. +For example, for Python 2.7 bindings on Linux, you can do `python util/taskcluster.py --target /destination --artifact deepspeech-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl`. -For Node.JS bindings, use `--artifact deepspeech-0.0.1.tgz`. +For Node.JS bindings, use `--artifact deepspeech-0.0.2.tgz`. ## Build Requirements @@ -133,4 +133,4 @@ make package make npm-pack ``` -This will create the package `deepspeech-0.0.1.tgz` in `native_client/javascript`. +This will create the package `deepspeech-0.0.2.tgz` in `native_client/javascript`. diff --git a/native_client/javascript/index.js b/native_client/javascript/index.js index ffc03d5c..762c33d1 100644 --- a/native_client/javascript/index.js +++ b/native_client/javascript/index.js @@ -1,6 +1,6 @@ const binary = require('node-pre-gyp'); const path = require('path') -// 'lib', 'binding', 'v0.0.1', ['node', 'v' + process.versions.modules, process.platform, process.arch].join('-'), 'deepspeech-bingings.node') +// 'lib', 'binding', 'v0.0.2', ['node', 'v' + process.versions.modules, process.platform, process.arch].join('-'), 'deepspeech-bingings.node') const binding_path = binary.find(path.resolve(path.join(__dirname, 'package.json'))); const binding = require(binding_path); diff --git a/native_client/javascript/package.json b/native_client/javascript/package.json index 45530af9..098476ae 100644 --- a/native_client/javascript/package.json +++ b/native_client/javascript/package.json @@ -1,6 +1,6 @@ { "name" : "deepspeech", - "version" : "0.0.1", + "version" : "0.0.2", "description" : "DeepSpeech NodeJS bindings", "main" : "./index", "author" : "Mozilla DeepSpeech ", diff --git a/native_client/package.json b/native_client/package.json index b6022524..f2365efb 100644 --- a/native_client/package.json +++ b/native_client/package.json @@ -1,6 +1,6 @@ { "name": "ds-client", - "version": "0.0.1", + "version": "0.0.2", "description": "A client binary to access DeepSpeech trained models.", "license": "MPL-2.0", "author": { @@ -12,6 +12,6 @@ "argparse": "1.0.9", "sox-stream": "2.0.1", "memory-stream": "0.0.3", - "deepspeech": "0.0.1" + "deepspeech": "0.0.2" } } diff --git a/native_client/setup.py b/native_client/setup.py index 1aeba658..d75f3ca5 100755 --- a/native_client/setup.py +++ b/native_client/setup.py @@ -46,7 +46,7 @@ setup(name = project_name, description = 'A library for running inference on a DeepSpeech model', author = 'Chris Lord', author_email='chrislord.net@gmail.com', - version = '0.0.1', + version = '0.0.2', package_dir = {'deepspeech': 'python'}, packages = [ 'deepspeech' ], cmdclass = { 'build': BuildExtFirst }, diff --git a/tc-node-tests-prod.sh b/tc-node-tests-prod.sh index e2d8d1a1..88c46c8b 100644 --- a/tc-node-tests-prod.sh +++ b/tc-node-tests-prod.sh @@ -19,7 +19,7 @@ download_data pushd ${HOME}/DeepSpeech/ds/native_client/ node --version npm --version - npm install ${DEEPSPEECH_ARTIFACTS_ROOT}/deepspeech-0.0.1.tgz + npm install ${DEEPSPEECH_ARTIFACTS_ROOT}/deepspeech-0.0.2.tgz npm install phrase_pbmodel_withlm=$(node client.js /tmp/${model_name} /tmp/LDC93S1.wav /tmp/alphabet.txt /tmp/lm.binary /tmp/trie) diff --git a/tc-node-tests.sh b/tc-node-tests.sh index d1f02206..6d9dc060 100644 --- a/tc-node-tests.sh +++ b/tc-node-tests.sh @@ -18,9 +18,9 @@ pushd ${HOME}/DeepSpeech/ds/native_client/ node --version npm --version if [ "${aot_model}" = "--aot" ]; then - npm install ${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/deepspeech-0.0.1.tgz + npm install ${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/deepspeech-0.0.2.tgz else - npm install ${DEEPSPEECH_ARTIFACTS_ROOT}/deepspeech-0.0.1.tgz + npm install ${DEEPSPEECH_ARTIFACTS_ROOT}/deepspeech-0.0.2.tgz fi npm install diff --git a/tc-python-tests-prod.sh b/tc-python-tests-prod.sh index eb152b9d..acb2c87b 100644 --- a/tc-python-tests-prod.sh +++ b/tc-python-tests-prod.sh @@ -42,7 +42,7 @@ pyenv virtualenv ${pyver} ${PYENV_NAME} source ${PYENV_ROOT}/versions/${pyver}/envs/${PYENV_NAME}/bin/activate platform=$(python -c 'import sys; import platform; plat = platform.system().lower(); plat = "manylinux1" if plat == "linux" else plat; sys.stdout.write("%s_%s" % (plat, platform.machine()));') -deepspeech_pkg="deepspeech-0.0.1-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" +deepspeech_pkg="deepspeech-0.0.2-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" pip install --upgrade scipy==0.19.1 ${DEEPSPEECH_ARTIFACTS_ROOT}/${deepspeech_pkg} diff --git a/tc-python-tests.sh b/tc-python-tests.sh index 5739175e..d160b48b 100644 --- a/tc-python-tests.sh +++ b/tc-python-tests.sh @@ -40,7 +40,7 @@ pyenv virtualenv ${pyver} ${PYENV_NAME} source ${PYENV_ROOT}/versions/${pyver}/envs/${PYENV_NAME}/bin/activate platform=$(python -c 'import sys; import platform; plat = platform.system().lower(); plat = "manylinux1" if plat == "linux" else plat; sys.stdout.write("%s_%s" % (plat, platform.machine()));') -deepspeech_pkg="deepspeech-0.0.1-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" +deepspeech_pkg="deepspeech-0.0.2-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl" if [ "${aot_model}" = "--aot" ]; then deepspeech_pkg_url=${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/${deepspeech_pkg}