mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-27 10:44:19 +00:00
Fix style issues.
This commit is contained in:
parent
f383666c40
commit
00dac43130
5
.flake8
5
.flake8
@ -4,8 +4,9 @@ statistics=true
|
|||||||
max-line-length = 80
|
max-line-length = 80
|
||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
# line too long
|
# line too long
|
||||||
egs/librispeech/ASR/conformer_ctc/conformer.py: E501,
|
egs/librispeech/ASR/*/conformer.py: E501,
|
||||||
|
|
||||||
exclude =
|
exclude =
|
||||||
.git,
|
.git,
|
||||||
**/data/**
|
**/data/**,
|
||||||
|
icefall/shared/make_kn_lm.py
|
||||||
|
@ -203,7 +203,8 @@ def get_params() -> AttributeDict:
|
|||||||
"warm_step": 80000,
|
"warm_step": 80000,
|
||||||
"use_pruned_intersect": False,
|
"use_pruned_intersect": False,
|
||||||
"den_scale": 1.0,
|
"den_scale": 1.0,
|
||||||
"use_ali_until": 13000, # use alignments before this number of batches
|
# use alignments before this number of batches
|
||||||
|
"use_ali_until": 13000,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -203,7 +203,8 @@ def get_params() -> AttributeDict:
|
|||||||
"warm_step": 80000,
|
"warm_step": 80000,
|
||||||
"use_pruned_intersect": False,
|
"use_pruned_intersect": False,
|
||||||
"den_scale": 1.0,
|
"den_scale": 1.0,
|
||||||
"use_ali_until": 13000, # use alignments before this number of batches
|
# use alignments before this number of batches
|
||||||
|
"use_ali_until": 13000,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ import os
|
|||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from typing import List
|
||||||
|
|
||||||
import k2
|
|
||||||
import sentencepiece as spm
|
import sentencepiece as spm
|
||||||
|
|
||||||
from icefall.lexicon import UniqLexicon
|
from icefall.lexicon import UniqLexicon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user