зеркало из https://github.com/mozilla/DeepSpeech.git
Flip direction of VERSION and GRAPH_VERSION links
This commit is contained in:
Родитель
80a3d70686
Коммит
06408b8ddd
15
Dockerfile
15
Dockerfile
|
@ -194,16 +194,17 @@ WORKDIR /DeepSpeech/
|
|||
RUN pip3 install tensorflow-gpu==1.15.0
|
||||
|
||||
|
||||
# Make DeepSpeech and install Python bindings
|
||||
# Build client.cc and install Python client and decoder bindings
|
||||
ENV TFDIR /tensorflow
|
||||
WORKDIR /DeepSpeech/native_client
|
||||
RUN make deepspeech
|
||||
WORKDIR /DeepSpeech/native_client/python
|
||||
RUN make bindings
|
||||
RUN pip3 install --upgrade dist/deepspeech*
|
||||
WORKDIR /DeepSpeech/native_client/ctcdecode
|
||||
RUN make bindings
|
||||
RUN pip3 install --upgrade dist/*.whl
|
||||
|
||||
WORKDIR /DeepSpeech
|
||||
RUN cd native_client/python && make bindings
|
||||
RUN pip3 install --upgrade native_client/python/dist/*.whl
|
||||
|
||||
RUN cd native_client/ctcdecode && make bindings
|
||||
RUN pip3 install --upgrade native_client/ctcdecode/dist/*.whl
|
||||
|
||||
|
||||
# << END Build and bind
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
6
|
|
@ -0,0 +1 @@
|
|||
training/deepspeech_training/GRAPH_VERSION
|
1
VERSION
1
VERSION
|
@ -1 +0,0 @@
|
|||
0.7.3
|
|
@ -0,0 +1 @@
|
|||
training/deepspeech_training/VERSION
|
|
@ -22,8 +22,8 @@ echo "STABLE_TF_GIT_VERSION ${tf_git_rev}"
|
|||
pushd $(dirname "$0")
|
||||
ds_git_rev=$(git describe --long --tags)
|
||||
echo "STABLE_DS_GIT_VERSION ${ds_git_rev}"
|
||||
ds_version=$(cat ../VERSION)
|
||||
ds_version=$(cat ../training/deepspeech_training/VERSION)
|
||||
echo "STABLE_DS_VERSION ${ds_version}"
|
||||
ds_graph_version=$(cat ../GRAPH_VERSION)
|
||||
ds_graph_version=$(cat ../training/deepspeech_training/GRAPH_VERSION)
|
||||
echo "STABLE_DS_GRAPH_VERSION ${ds_graph_version}"
|
||||
popd
|
||||
|
|
|
@ -51,7 +51,7 @@ def maybe_rebuild(srcs, out_name, build_dir):
|
|||
num_parallel=known_args.num_processes,
|
||||
debug=debug)
|
||||
|
||||
project_version = read('../../VERSION').strip()
|
||||
project_version = read('../../training/deepspeech_training/VERSION').strip()
|
||||
|
||||
build_dir = 'temp_build/temp_build'
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ NODE_ABI_TARGET ?=
|
|||
NODE_BUILD_VERBOSE ?= --verbose
|
||||
NPM_TOOL ?= npm
|
||||
PROJECT_NAME ?= deepspeech
|
||||
PROJECT_VERSION ?= $(shell cat ../../VERSION | tr -d '\n')
|
||||
PROJECT_VERSION ?= $(shell cat ../../training/deepspeech_training/VERSION | tr -d '\n')
|
||||
NPM_ROOT ?= $(shell npm root)
|
||||
|
||||
NODE_MODULES_BIN ?= $(NPM_ROOT)/.bin/
|
||||
|
|
|
@ -31,7 +31,7 @@ def main():
|
|||
sys.argv.remove('--project_name')
|
||||
sys.argv.pop(project_name_idx)
|
||||
|
||||
with open('../../VERSION', 'r') as ver:
|
||||
with open('../../training/deepspeech_training/VERSION', 'r') as ver:
|
||||
project_version = ver.read().strip()
|
||||
|
||||
class BuildExtFirst(build):
|
||||
|
|
|
@ -57,7 +57,7 @@ export DS_TFDIR=${DS_ROOT_TASK}/DeepSpeech/tf
|
|||
export DS_DSDIR=${DS_ROOT_TASK}/DeepSpeech/ds
|
||||
export DS_EXAMPLEDIR=${DS_ROOT_TASK}/DeepSpeech/examples
|
||||
|
||||
export DS_VERSION="$(cat ${DS_DSDIR}/VERSION)"
|
||||
export DS_VERSION="$(cat ${DS_DSDIR}/training/deepspeech_training/VERSION)"
|
||||
|
||||
export GRADLE_USER_HOME=${DS_ROOT_TASK}/gradle-cache
|
||||
export ANDROID_SDK_HOME=${DS_ROOT_TASK}/DeepSpeech/Android/SDK/
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
../../GRAPH_VERSION
|
|
@ -0,0 +1 @@
|
|||
6
|
|
@ -1 +0,0 @@
|
|||
../../VERSION
|
|
@ -0,0 +1 @@
|
|||
0.7.3
|
Загрузка…
Ссылка в новой задаче