mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
deploy: 398401ed277d4f895f624a95919c57edbbde4cba
This commit is contained in:
parent
a1d1f2e434
commit
05f093bd66
@ -66,13 +66,13 @@ to install dependencies of `icefall`_:
|
|||||||
|
|
||||||
pip install torch==2.0.0+cpu torchaudio==2.0.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
pip install torch==2.0.0+cpu torchaudio==2.0.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||||
|
|
||||||
# If you are using macOS or Windows, please use the following command to install torch and torchaudio
|
# If you are using macOS, please use the following command to install torch and torchaudio
|
||||||
# pip install torch==2.0.0 torchaudio==2.0.0 -f https://download.pytorch.org/whl/torch_stable.html
|
# pip install torch==2.0.0 torchaudio==2.0.0 -f https://download.pytorch.org/whl/torch_stable.html
|
||||||
|
|
||||||
# Now install k2
|
# Now install k2
|
||||||
# Please refer to https://k2-fsa.github.io/k2/installation/from_wheels.html#linux-cpu-example
|
# Please refer to https://k2-fsa.github.io/k2/installation/from_wheels.html#linux-cpu-example
|
||||||
|
|
||||||
pip install k2==1.24.3.dev20230726+cpu.torch2.0.0 -f https://k2-fsa.github.io/k2/cpu.html
|
pip install k2==1.24.4.dev20231220+cpu.torch2.0.0 -f https://k2-fsa.github.io/k2/cpu.html
|
||||||
|
|
||||||
# Install the latest version of lhotse
|
# Install the latest version of lhotse
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ We can also use it to decode files with the following command:
|
|||||||
# Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html
|
# Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html
|
||||||
# for how to install kaldifeat
|
# for how to install kaldifeat
|
||||||
|
|
||||||
pip install kaldifeat==1.25.0.dev20230726+cpu.torch2.0.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
|
pip install kaldifeat==1.25.3.dev20231221+cpu.torch2.0.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
|
||||||
|
|
||||||
./tdnn/pretrained.py \
|
./tdnn/pretrained.py \
|
||||||
--checkpoint ./tdnn/exp/pretrained.pt \
|
--checkpoint ./tdnn/exp/pretrained.pt \
|
||||||
@ -162,7 +162,7 @@ To use ``tdnn/exp/cpu_jit.pt`` with `icefall`_ to decode files, we can use:
|
|||||||
# Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html
|
# Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html
|
||||||
# for how to install kaldifeat
|
# for how to install kaldifeat
|
||||||
|
|
||||||
pip install kaldifeat==1.25.0.dev20230726+cpu.torch2.0.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
|
pip install kaldifeat==1.25.3.dev20231221+cpu.torch2.0.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
|
||||||
|
|
||||||
|
|
||||||
./tdnn/jit_pretrained.py \
|
./tdnn/jit_pretrained.py \
|
||||||
@ -249,7 +249,7 @@ To use the generated ONNX model files for decoding with `onnxruntime`_, we can u
|
|||||||
# Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html
|
# Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html
|
||||||
# for how to install kaldifeat
|
# for how to install kaldifeat
|
||||||
|
|
||||||
pip install kaldifeat==1.25.0.dev20230726+cpu.torch2.0.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
|
pip install kaldifeat==1.25.3.dev20231221+cpu.torch2.0.0 -f https://csukuangfj.github.io/kaldifeat/cpu.html
|
||||||
|
|
||||||
./tdnn/onnx_pretrained.py \
|
./tdnn/onnx_pretrained.py \
|
||||||
--nn-model ./tdnn/exp/model-epoch-14-avg-2.onnx \
|
--nn-model ./tdnn/exp/model-epoch-14-avg-2.onnx \
|
||||||
|
@ -153,13 +153,13 @@ dependencies required only by running on <code class="docutils literal notransla
|
|||||||
|
|
||||||
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.0.0+cpu<span class="w"> </span><span class="nv">torchaudio</span><span class="o">==</span><span class="m">2</span>.0.0+cpu<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch_stable.html
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">torch</span><span class="o">==</span><span class="m">2</span>.0.0+cpu<span class="w"> </span><span class="nv">torchaudio</span><span class="o">==</span><span class="m">2</span>.0.0+cpu<span class="w"> </span>-f<span class="w"> </span>https://download.pytorch.org/whl/torch_stable.html
|
||||||
|
|
||||||
<span class="c1"># If you are using macOS or Windows, please use the following command to install torch and torchaudio</span>
|
<span class="c1"># If you are using macOS, please use the following command to install torch and torchaudio</span>
|
||||||
<span class="c1"># pip install torch==2.0.0 torchaudio==2.0.0 -f https://download.pytorch.org/whl/torch_stable.html</span>
|
<span class="c1"># pip install torch==2.0.0 torchaudio==2.0.0 -f https://download.pytorch.org/whl/torch_stable.html</span>
|
||||||
|
|
||||||
<span class="c1"># Now install k2</span>
|
<span class="c1"># Now install k2</span>
|
||||||
<span class="c1"># Please refer to https://k2-fsa.github.io/k2/installation/from_wheels.html#linux-cpu-example</span>
|
<span class="c1"># Please refer to https://k2-fsa.github.io/k2/installation/from_wheels.html#linux-cpu-example</span>
|
||||||
|
|
||||||
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">k2</span><span class="o">==</span><span class="m">1</span>.24.3.dev20230726+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://k2-fsa.github.io/k2/cpu.html
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">k2</span><span class="o">==</span><span class="m">1</span>.24.4.dev20231220+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://k2-fsa.github.io/k2/cpu.html
|
||||||
|
|
||||||
<span class="c1"># Install the latest version of lhotse</span>
|
<span class="c1"># Install the latest version of lhotse</span>
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ ln<span class="w"> </span>-s<span class="w"> </span>pretrained.pt<span class="w"
|
|||||||
<span class="c1"># Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html</span>
|
<span class="c1"># Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html</span>
|
||||||
<span class="c1"># for how to install kaldifeat</span>
|
<span class="c1"># for how to install kaldifeat</span>
|
||||||
|
|
||||||
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.0.dev20230726+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.3.dev20231221+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
||||||
|
|
||||||
./tdnn/pretrained.py<span class="w"> </span><span class="se">\</span>
|
./tdnn/pretrained.py<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--checkpoint<span class="w"> </span>./tdnn/exp/pretrained.pt<span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--checkpoint<span class="w"> </span>./tdnn/exp/pretrained.pt<span class="w"> </span><span class="se">\</span>
|
||||||
@ -236,7 +236,7 @@ and it resides on CPU by default.</p>
|
|||||||
<span class="c1"># Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html</span>
|
<span class="c1"># Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html</span>
|
||||||
<span class="c1"># for how to install kaldifeat</span>
|
<span class="c1"># for how to install kaldifeat</span>
|
||||||
|
|
||||||
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.0.dev20230726+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.3.dev20231221+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
||||||
|
|
||||||
|
|
||||||
./tdnn/jit_pretrained.py<span class="w"> </span><span class="se">\</span>
|
./tdnn/jit_pretrained.py<span class="w"> </span><span class="se">\</span>
|
||||||
@ -317,7 +317,7 @@ verbose:<span class="w"> </span>False,<span class="w"> </span>log<span class="w"
|
|||||||
<span class="c1"># Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html</span>
|
<span class="c1"># Please refer to https://csukuangfj.github.io/kaldifeat/installation/from_wheels.html</span>
|
||||||
<span class="c1"># for how to install kaldifeat</span>
|
<span class="c1"># for how to install kaldifeat</span>
|
||||||
|
|
||||||
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.0.dev20230726+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
pip<span class="w"> </span>install<span class="w"> </span><span class="nv">kaldifeat</span><span class="o">==</span><span class="m">1</span>.25.3.dev20231221+cpu.torch2.0.0<span class="w"> </span>-f<span class="w"> </span>https://csukuangfj.github.io/kaldifeat/cpu.html
|
||||||
|
|
||||||
./tdnn/onnx_pretrained.py<span class="w"> </span><span class="se">\</span>
|
./tdnn/onnx_pretrained.py<span class="w"> </span><span class="se">\</span>
|
||||||
<span class="w"> </span>--nn-model<span class="w"> </span>./tdnn/exp/model-epoch-14-avg-2.onnx<span class="w"> </span><span class="se">\</span>
|
<span class="w"> </span>--nn-model<span class="w"> </span>./tdnn/exp/model-epoch-14-avg-2.onnx<span class="w"> </span><span class="se">\</span>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user