Merge pull request #1200 from lissyx/release-v0.1.1
Making v0.1.1 release
This commit is contained in:
commit
3c546d5005
@ -21,6 +21,7 @@ tasks:
|
||||
- master
|
||||
- v0.0.3
|
||||
- v0.1.0
|
||||
- v0.1.1
|
||||
|
||||
routes:
|
||||
- "notify.irc-channel.#machinelearning.on-any"
|
||||
|
@ -68,7 +68,7 @@ git clone https://github.com/mozilla/DeepSpeech
|
||||
If you want to use the pre-trained English model for performing speech-to-text, you can download it (along with other important inference material) from the [DeepSpeech releases page](https://github.com/mozilla/DeepSpeech/releases). Alternatively, you can run the following command to download and unzip the files in your current directory:
|
||||
|
||||
```bash
|
||||
wget -O - https://github.com/mozilla/DeepSpeech/releases/download/v0.1.0/deepspeech-0.1.0-models.tar.gz | tar xvfz -
|
||||
wget -O - https://github.com/mozilla/DeepSpeech/releases/download/v0.1.1/deepspeech-0.1.1-models.tar.gz | tar xvfz -
|
||||
```
|
||||
|
||||
## Using the model
|
||||
|
@ -149,4 +149,4 @@ make package
|
||||
make npm-pack
|
||||
```
|
||||
|
||||
This will create the package `deepspeech-0.1.0.tgz` in `native_client/javascript`.
|
||||
This will create the package `deepspeech-0.1.1.tgz` in `native_client/javascript`.
|
||||
|
@ -1,6 +1,6 @@
|
||||
const binary = require('node-pre-gyp');
|
||||
const path = require('path')
|
||||
// 'lib', 'binding', 'v0.1.0', ['node', 'v' + process.versions.modules, process.platform, process.arch].join('-'), 'deepspeech-bingings.node')
|
||||
// 'lib', 'binding', 'v0.1.1', ['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);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "$(PROJECT_NAME)",
|
||||
"version" : "0.1.0",
|
||||
"version" : "0.1.1",
|
||||
"description" : "DeepSpeech NodeJS bindings",
|
||||
"main" : "./index",
|
||||
"bin": {
|
||||
|
@ -47,7 +47,7 @@ utils = Extension('deepspeech._utils',
|
||||
setup(name = project_name,
|
||||
description = 'A library for running inference on a DeepSpeech model',
|
||||
author = 'Mozilla',
|
||||
version = '0.1.0',
|
||||
version = '0.1.1',
|
||||
package_dir = {'deepspeech': 'python'},
|
||||
packages = ['deepspeech'],
|
||||
cmdclass = {'build': BuildExtFirst},
|
||||
|
@ -14,3 +14,4 @@ taskcluster:
|
||||
- master
|
||||
- v0.0.3
|
||||
- v0.1.0
|
||||
- v0.1.1
|
||||
|
@ -9,7 +9,7 @@ build:
|
||||
args:
|
||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/tc-train-tests.sh 2.7.13 mozilla deepspeech"
|
||||
python_wheel: 'https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.master.1390dc180e25b5821be80b407ddc5fad73d4ef6a.cpu/artifacts/public/tensorflow_warpctc-1.4.0-cp27-cp27mu-linux_x86_64.whl'
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl'
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl'
|
||||
metadata:
|
||||
name: "DeepSpeech Linux AMD64 CPU training Py2.7 (DS)"
|
||||
description: "Training a DeepSpeech LDC93S1 model for Linux/AMD64 Python 2.7 with DeepSpeech package installed, CPU only, optimized version"
|
||||
|
@ -9,7 +9,7 @@ build:
|
||||
args:
|
||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/tc-train-tests.sh 3.6.2 mozilla deepspeech"
|
||||
python_wheel: 'https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.master.1390dc180e25b5821be80b407ddc5fad73d4ef6a.cpu-py36/artifacts/public/tensorflow_warpctc-1.4.0-cp36-cp36m-linux_x86_64.whl'
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.0-cp36-cp36m-manylinux1_x86_64.whl'
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.1-cp36-cp36m-manylinux1_x86_64.whl'
|
||||
metadata:
|
||||
name: "DeepSpeech Linux AMD64 CPU training Py3.6 (DS)"
|
||||
description: "Training a DeepSpeech LDC93S1 model for Linux/AMD64 Python 3.6 with DeepSpeech package installed, CPU only, optimized version"
|
||||
|
@ -8,7 +8,7 @@ build:
|
||||
apt-get -qq -y install ${python.packages.apt}
|
||||
args:
|
||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/tc-train-tests.sh 2.7.13 upstream deepspeech"
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl'
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl'
|
||||
metadata:
|
||||
name: "DeepSpeech Linux AMD64 CPU upstream training Py2.7 (DS)"
|
||||
description: "Training a DeepSpeech LDC93S1 model for Linux/AMD64 using upstream TensorFlow Python 2.7 with DeepSpeech package installed, CPU only, optimized version"
|
||||
|
@ -8,7 +8,7 @@ build:
|
||||
apt-get -qq -y install ${python.packages.apt}
|
||||
args:
|
||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/tc-train-tests.sh 3.6.2 upstream deepspeech"
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.0-cp36-cp36m-manylinux1_x86_64.whl'
|
||||
deepspeech_pkg_name: 'deepspeech-0.1.1-cp36-cp36m-manylinux1_x86_64.whl'
|
||||
metadata:
|
||||
name: "DeepSpeech Linux AMD64 CPU upstream training Py3.6 (DS)"
|
||||
description: "Training a DeepSpeech LDC93S1 model for Linux/AMD64 using upstream TensorFlow Python 3.6 with DeepSpeech package installed, CPU only, optimized version"
|
||||
|
@ -18,7 +18,7 @@ download_data
|
||||
|
||||
node --version
|
||||
npm --version
|
||||
npm install ${DEEPSPEECH_NODEJS}/deepspeech-0.1.0.tgz
|
||||
npm install ${DEEPSPEECH_NODEJS}/deepspeech-0.1.1.tgz
|
||||
|
||||
export PATH=$HOME/node_modules/.bin/:$PATH
|
||||
|
||||
|
@ -22,9 +22,9 @@ export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||
export PATH="${NODE_PATH}/.bin/:$PATH"
|
||||
|
||||
if [ "${aot_model}" = "--aot" ]; then
|
||||
npm install --prefix ${NODE_ROOT} ${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/deepspeech-0.1.0.tgz
|
||||
npm install --prefix ${NODE_ROOT} ${DEEPSPEECH_AOT_ARTIFACTS_ROOT}/deepspeech-0.1.1.tgz
|
||||
else
|
||||
npm install --prefix ${NODE_ROOT} ${DEEPSPEECH_NODEJS}/deepspeech-0.1.0.tgz
|
||||
npm install --prefix ${NODE_ROOT} ${DEEPSPEECH_NODEJS}/deepspeech-0.1.1.tgz
|
||||
fi
|
||||
|
||||
phrase_pbmodel_nolm=$(deepspeech ${TASKCLUSTER_TMP_DIR}/${model_name} ${TASKCLUSTER_TMP_DIR}/LDC93S1.wav ${TASKCLUSTER_TMP_DIR}/alphabet.txt)
|
||||
|
@ -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.1.0-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl"
|
||||
deepspeech_pkg="deepspeech-0.1.1-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl"
|
||||
|
||||
pip install --upgrade ${DEEPSPEECH_ARTIFACTS_ROOT}/${deepspeech_pkg} | cat
|
||||
|
||||
|
@ -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; plat = "macosx_10_10" if plat == "darwin" else plat; sys.stdout.write("%s_%s" % (plat, platform.machine()));')
|
||||
deepspeech_pkg="deepspeech-0.1.0-cp${pyver_pkg}-cp${pyver_pkg}${py_unicode_type}-${platform}.whl"
|
||||
deepspeech_pkg="deepspeech-0.1.1-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}
|
||||
|
Loading…
Reference in New Issue
Block a user