mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 18:42:19 +00:00
run
This commit is contained in:
parent
8ad9d800f7
commit
55266eb303
25
.github/workflows/rknn.yml
vendored
25
.github/workflows/rknn.yml
vendored
@ -42,8 +42,31 @@ jobs:
|
|||||||
pip install ./*.whl
|
pip install ./*.whl
|
||||||
pip list | grep rknn
|
pip list | grep rknn
|
||||||
|
|
||||||
- name: Run python
|
- name: Run
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ls
|
ls
|
||||||
python3 -c "import sys; from rknn.api import RKNN; print(dir(RKNN))"
|
python3 -c "import sys; from rknn.api import RKNN; print(dir(RKNN))"
|
||||||
|
|
||||||
|
git clone --depth 1 https://github.com/airockchip/rknn_model_zoo/
|
||||||
|
cd rknn_model_zoo/examples/zipformer
|
||||||
|
cd model
|
||||||
|
ls -lh
|
||||||
|
./download_model.sh
|
||||||
|
ls -lh
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd python
|
||||||
|
python3 ./convert.py ../model/encoder-epoch-99-avg-1.onnx rk3588
|
||||||
|
|
||||||
|
ls -lh
|
||||||
|
|
||||||
|
python3 convert.py ../model/decoder-epoch-99-avg-1.onnx rk3588
|
||||||
|
|
||||||
|
ls -lh
|
||||||
|
|
||||||
|
python3 convert.py ../model/joiner-epoch-99-avg-1.onnx rk3588
|
||||||
|
|
||||||
|
ls -lh
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user