mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-13 12:02:21 +00:00
Fix style issues.
This commit is contained in:
parent
27a0c80af8
commit
7b267e8be6
2
.flake8
2
.flake8
@ -4,7 +4,7 @@ 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,
|
||||
|
@ -161,7 +161,7 @@ def get_params() -> AttributeDict:
|
||||
"att_rate": 0,
|
||||
"attention_dim": 512,
|
||||
"nhead": 8,
|
||||
"num_decoder_layers": 6,
|
||||
"num_decoder_layers": 0,
|
||||
"is_espnet_structure": True,
|
||||
"use_feat_batchnorm": True,
|
||||
"lr_factor": 5.0,
|
||||
|
@ -32,10 +32,9 @@ Then the output is
|
||||
SPN z o o w o r l d SPN
|
||||
"""
|
||||
|
||||
from pathlib import Path
|
||||
from typing import Dict
|
||||
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
from typing import Dict, List
|
||||
|
||||
from icefall.lexicon import read_lexicon
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from typing import List, Union
|
||||
from typing import List
|
||||
|
||||
import k2
|
||||
import torch
|
||||
|
Loading…
x
Reference in New Issue
Block a user