mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-06 15:44:17 +00:00
install matplotlib
This commit is contained in:
parent
2af46ef97a
commit
23351ea177
20
.github/scripts/docker/Dockerfile
vendored
20
.github/scripts/docker/Dockerfile
vendored
@ -33,23 +33,23 @@ RUN pip install --no-cache-dir \
|
|||||||
k2==${_K2_VERSION} -f https://k2-fsa.github.io/k2/cpu.html \
|
k2==${_K2_VERSION} -f https://k2-fsa.github.io/k2/cpu.html \
|
||||||
git+https://github.com/lhotse-speech/lhotse \
|
git+https://github.com/lhotse-speech/lhotse \
|
||||||
kaldifeat==${_KALDIFEAT_VERSION} -f https://csukuangfj.github.io/kaldifeat/cpu.html \
|
kaldifeat==${_KALDIFEAT_VERSION} -f https://csukuangfj.github.io/kaldifeat/cpu.html \
|
||||||
|
dill \
|
||||||
|
graphviz \
|
||||||
kaldi_native_io \
|
kaldi_native_io \
|
||||||
kaldialign \
|
kaldialign \
|
||||||
kaldifst \
|
kaldifst \
|
||||||
kaldilm \
|
kaldilm \
|
||||||
sentencepiece>=0.1.96 \
|
matplotlib \
|
||||||
tensorboard \
|
|
||||||
typeguard \
|
|
||||||
dill \
|
|
||||||
onnx \
|
|
||||||
onnxruntime \
|
|
||||||
onnxmltools \
|
|
||||||
six \
|
|
||||||
multi_quantization \
|
multi_quantization \
|
||||||
typeguard \
|
|
||||||
numpy \
|
numpy \
|
||||||
|
onnx \
|
||||||
|
onnxmltools \
|
||||||
|
onnxruntime \
|
||||||
pytest \
|
pytest \
|
||||||
graphviz
|
sentencepiece>=0.1.96 \
|
||||||
|
six \
|
||||||
|
tensorboard \
|
||||||
|
typeguard
|
||||||
|
|
||||||
# RUN git clone https://github.com/k2-fsa/icefall /workspace/icefall && \
|
# RUN git clone https://github.com/k2-fsa/icefall /workspace/icefall && \
|
||||||
# cd /workspace/icefall && \
|
# cd /workspace/icefall && \
|
||||||
|
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ["3.8", "3.9", "3.10"]
|
python-version: ["3.8", "3.9", "3.10"]
|
||||||
torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
torch-version: ["1.13.0", "1.13.1", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
||||||
version: ["1.1"]
|
version: ["1.1"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -43,6 +43,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=/icefall:$PYTHONPATH
|
export PYTHONPATH=/icefall:$PYTHONPATH
|
||||||
cd /icefall
|
cd /icefall
|
||||||
|
git config --global --add safe.directory /icefall
|
||||||
|
|
||||||
pytest -v -s ./test
|
pytest -v -s ./test
|
||||||
|
|
||||||
|
6
.github/workflows/train-librispeech.yml
vendored
6
.github/workflows/train-librispeech.yml
vendored
@ -23,8 +23,8 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ["3.8", "3.9", "3.10"]
|
python-version: ["3.8", "3.9", "3.10"]
|
||||||
torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
torch-version: ["1.13.0", "1.13.1", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
||||||
version: ["1.0"]
|
version: ["1.1"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# refer to https://github.com/actions/checkout
|
# refer to https://github.com/actions/checkout
|
||||||
@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Test zipformer/train.py with LibriSpeech
|
- name: Test zipformer/train.py with LibriSpeech
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/k2-fsa/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}
|
image: ghcr.io/csukuangfj/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}
|
||||||
options: |
|
options: |
|
||||||
--volume ${{ github.workspace }}/:/icefall
|
--volume ${{ github.workspace }}/:/icefall
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user