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

Tfdsv4 librispeech no deepspeech #1819

Open
wants to merge 12 commits into
base: tfdsv4
Choose a base branch
from
Open
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
47 changes: 0 additions & 47 deletions .github/workflows/3-test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,50 +44,3 @@ jobs:
-c /armory-repo/pyproject.toml \
-m "not docker_required and unit" \
./tests/


docker-deepspeech-unit:
name: ☁️ Docker Deepspeech Image Tests
runs-on: ubuntu-latest
steps:
- name: 🐄 checkout armory full depth with tags for scm
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: 🐍 Use Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: ⚙️ Installing Armory
shell: bash
run: |
pip install .
armory configure --use-defaults

- name: 🚧 Build the Container
run: |
python docker/build.py --framework pytorch-deepspeech

- name: 🤞 Run Image tests
run: |
IMAGE_VERSION=`armory --show-docker-version-tag`

docker run \
--rm \
--workdir /armory-repo \
twosixarmory/pytorch-deepspeech:${IMAGE_VERSION} \
pytest \
-c /armory-repo/pyproject.toml \
-m "not docker_required and unit" \
./tests/

docker run \
--rm \
--workdir /armory-repo \
twosixarmory/pytorch-deepspeech:${IMAGE_VERSION} \
pytest \
-c /armory-repo/pyproject.toml \
-m "pytorch_deepspeech" \
./tests/
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
matrix:
include:
- image: armory
- image: pytorch-deepspeech
steps:
- name: 🐍 Setup Python 3.9
uses: actions/setup-python@v4
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,21 @@ from the evaluation can be found in the output directory. To later close the
interactive container simply run CTRL+C from the terminal where this command was ran.

## armory launch
* `armory launch <armory|pytorch-deepspeech>`
* `armory launch <armory>`
This will launch a framework specific container, with appropriate mounted volumes, for
the user to attach to for debugging purposes. A command to attach to the container will
be returned from this call, and it can be ran in a separate terminal. To later close
the interactive container simply run CTRL+C from the terminal where this command was
ran.

* `armory launch <armory|pytorch-deepspeech> --jupyter`.
* `armory launch <armory> --jupyter`.
Similar to the interactive launch, this will spin up a container for a specific
framework, but will instead return the web address of a jupyter lab server where
debugging can be performed. To close the jupyter server simply run CTRL+C from the
terminal where this command was ran.

## armory exec
* `armory exec <armory|pytorch-deepspeech> -- <cmd>`
* `armory exec <armory> -- <cmd>`
This will run a specific command within a framework specific container. A notable use
case for this would be to run test cases using pytest. After completion of the command
the container will be removed.
Expand Down
4 changes: 2 additions & 2 deletions armory/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _docker_image(parser):
"docker_image",
metavar="<docker image>",
type=str,
help="docker image framework: 'armory', or 'pytorch-deepspeech'",
help="docker image framework: 'armory'",
action=DockerImage,
)

Expand All @@ -201,7 +201,7 @@ def _docker_image_optional(parser):
default=armory.docker.images.ARMORY_IMAGE_NAME,
metavar="<docker image>",
type=str,
help="docker image framework: 'armory', or 'pytorch-deepspeech'",
help="docker image framework: 'armory'",
action=DockerImage,
)

Expand Down
24 changes: 0 additions & 24 deletions armory/baseline_models/pytorch/deep_speech.py

This file was deleted.

Loading