mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-27 02:34:21 +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
|
||||
per-file-ignores =
|
||||
# line too long
|
||||
egs/librispeech/ASR/conformer_ctc/conformer.py: E501,
|
||||
egs/librispeech/ASR/*/conformer.py: E501,
|
||||
|
||||
exclude =
|
||||
.git,
|
||||
**/data/**
|
||||
**/data/**,
|
||||
icefall/shared/make_kn_lm.py
|
||||
|
@ -203,7 +203,8 @@ def get_params() -> AttributeDict:
|
||||
"warm_step": 80000,
|
||||
"use_pruned_intersect": False,
|
||||
"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,
|
||||
"use_pruned_intersect": False,
|
||||
"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 sys
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
import k2
|
||||
import sentencepiece as spm
|
||||
|
||||
from icefall.lexicon import UniqLexicon
|
||||
|
Loading…
x
Reference in New Issue
Block a user