mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 18:42:19 +00:00
fix use_eos_bos
This commit is contained in:
parent
23875783d9
commit
bb8cf2d9eb
2
.github/scripts/ljspeech/TTS/run-matcha.sh
vendored
2
.github/scripts/ljspeech/TTS/run-matcha.sh
vendored
@ -77,7 +77,7 @@ function export_onnx() {
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
pushd data/fbank
|
pushd data/fbank
|
||||||
rm -v *.json
|
rm -fv *.json
|
||||||
curl -SL -O https://huggingface.co/csukuangfj/icefall-tts-ljspeech-matcha-en-2024-10-28/resolve/main/data/cmvn.json
|
curl -SL -O https://huggingface.co/csukuangfj/icefall-tts-ljspeech-matcha-en-2024-10-28/resolve/main/data/cmvn.json
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
4
.github/workflows/ljspeech.yml
vendored
4
.github/workflows/ljspeech.yml
vendored
@ -130,7 +130,7 @@ jobs:
|
|||||||
path: ./model-steps-6.onnx
|
path: ./model-steps-6.onnx
|
||||||
|
|
||||||
- name: Upload models to huggingface
|
- name: Upload models to huggingface
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0' && github.event_name == 'push'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0'
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||||
@ -155,7 +155,7 @@ jobs:
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
- name: Release exported onnx models
|
- name: Release exported onnx models
|
||||||
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0' && github.event_name == 'push'
|
if: matrix.python-version == '3.9' && matrix.torch-version == '2.3.0'
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
@ -183,7 +183,7 @@ def main():
|
|||||||
"pad_id": tokenizer.pad_id,
|
"pad_id": tokenizer.pad_id,
|
||||||
"model_author": "icefall",
|
"model_author": "icefall",
|
||||||
"maintainer": "k2-fsa",
|
"maintainer": "k2-fsa",
|
||||||
"use_eos_bos": 0,
|
"use_eos_bos": 1,
|
||||||
"dataset": "LJ Speech",
|
"dataset": "LJ Speech",
|
||||||
"dataset_url": "https://keithito.com/LJ-Speech-Dataset/",
|
"dataset_url": "https://keithito.com/LJ-Speech-Dataset/",
|
||||||
"num_ode_steps": num_steps,
|
"num_ode_steps": num_steps,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user