mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 18:12: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
|
||||
|
||||
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
|
||||
popd
|
||||
|
||||
|
4
.github/workflows/ljspeech.yml
vendored
4
.github/workflows/ljspeech.yml
vendored
@ -130,7 +130,7 @@ jobs:
|
||||
path: ./model-steps-6.onnx
|
||||
|
||||
- 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
|
||||
env:
|
||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
||||
@ -155,7 +155,7 @@ jobs:
|
||||
popd
|
||||
|
||||
- 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
|
||||
with:
|
||||
file_glob: true
|
||||
|
@ -183,7 +183,7 @@ def main():
|
||||
"pad_id": tokenizer.pad_id,
|
||||
"model_author": "icefall",
|
||||
"maintainer": "k2-fsa",
|
||||
"use_eos_bos": 0,
|
||||
"use_eos_bos": 1,
|
||||
"dataset": "LJ Speech",
|
||||
"dataset_url": "https://keithito.com/LJ-Speech-Dataset/",
|
||||
"num_ode_steps": num_steps,
|
||||
|
Loading…
x
Reference in New Issue
Block a user