Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove docker image version no #148

Merged
merged 1 commit into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
before_install:
- export DELTA_PATH=`pwd`; echo $DELTA_PATH
- export DOCKER_DELTA="/home/gitlab-runner/delta"; echo $DOCKER_DELTA
- export CI_IMAGE=zh794390558/delta:2.0.0-ci-cpu-py3
- export CI_IMAGE=zh794390558/delta:ci-cpu-py3
- docker pull ${CI_IMAGE}
- docker run -it -d --name travis_con --user root -v ${DELTA_PATH}:${DOCKER_DELTA} ${CI_IMAGE} bash
- docker exec travis_con bash -c "gcc -v && g++ -v"
Expand Down
16 changes: 8 additions & 8 deletions docs/installation/using_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

You can directly pull the pre-build docker images for DELTA and DELTANN. We have created the following docker images:

- TF2.0.0-delta-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-delta-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- delta-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:delta-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)

- TF2.0.0-delta-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-delta-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- delta-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:delta-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)

- TF2.0.0-deltann-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-deltann-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- deltann-gpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:deltann-gpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)

- TF2.0.0-deltann-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:2.0.0-deltann-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)
- deltann-cpu-py3 [![](https://images.microbadger.com/badges/image/zh794390558/delta:deltann-cpu-py3.svg)](https://hub.docker.com/r/zh794390558/delta)



Expand All @@ -24,10 +24,10 @@ or using pre-build images as belows:
All avaible image tags list in [here](https://cloud.docker.com/repository/docker/zh794390558/delta/tags),
please choose one as needed.

If you choose `2.0.0-delta-cpu-py3`, then download the image as below:
If you choose `delta-cpu-py3`, then download the image as below:

```bash
docker pull zh794390558/delta:2.0.0-delta-cpu-py3
docker pull zh794390558/delta:delta-cpu-py3
```

## Create Container
Expand All @@ -37,7 +37,7 @@ After the image downloaded, create a container.
For **delta** usage (model development):

```bash
cd /path/to/detla && docker run -v `pwd`:/delta -it zh794390558/delta:2.0.0-delta-cpu-py3 /bin/bash
cd /path/to/detla && docker run -v `pwd`:/delta -it zh794390558/delta:delta-cpu-py3 /bin/bash
```

The basic version of **delta** (except Kaldi) was already installed in this container. You can develop in this container like:
Expand All @@ -60,7 +60,7 @@ For **deltann** usage (model deployment):
```bash
cd /path/to/detla
WORKSPACE=$PWD
docker run -it -v $WORKSPACE:$WORKSPACE zh794390558/delta:2.0.0-deltann-cpu-py3 /bin/bash
docker run -it -v $WORKSPACE:$WORKSPACE zh794390558/delta:deltann-cpu-py3 /bin/bash
```

We recommend using a high-end machine to develop DELTANN, since it needs to compile
Expand Down