mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-16 04:32:19 +00:00
Fix style issues.
This commit is contained in:
parent
7a83dd1b3c
commit
4d06ca4d45
@ -16,7 +16,6 @@
|
||||
|
||||
import sphinx_rtd_theme
|
||||
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
project = "icefall"
|
||||
|
@ -15,4 +15,3 @@ We may add recipes for other tasks as well in the future.
|
||||
yesno
|
||||
|
||||
librispeech
|
||||
|
||||
|
@ -43,4 +43,3 @@ We searched the lm_score_scale for best results, the scales that produced the WE
|
||||
|--|--|
|
||||
|test-clean|0.8|
|
||||
|test-other|0.9|
|
||||
|
||||
|
@ -16,9 +16,8 @@
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
from subsampling import Conv2dSubsampling
|
||||
from subsampling import VggSubsampling
|
||||
import torch
|
||||
from subsampling import Conv2dSubsampling, VggSubsampling
|
||||
|
||||
|
||||
def test_conv2d_subsampling():
|
||||
|
@ -17,17 +17,16 @@
|
||||
|
||||
|
||||
import torch
|
||||
from torch.nn.utils.rnn import pad_sequence
|
||||
from transformer import (
|
||||
Transformer,
|
||||
add_eos,
|
||||
add_sos,
|
||||
decoder_padding_mask,
|
||||
encoder_padding_mask,
|
||||
generate_square_subsequent_mask,
|
||||
decoder_padding_mask,
|
||||
add_sos,
|
||||
add_eos,
|
||||
)
|
||||
|
||||
from torch.nn.utils.rnn import pad_sequence
|
||||
|
||||
|
||||
def test_encoder_padding_mask():
|
||||
supervisions = {
|
||||
|
@ -26,7 +26,6 @@ from pathlib import Path
|
||||
from typing import Dict, Iterable, List, TextIO, Tuple, Union
|
||||
|
||||
import k2
|
||||
import k2.ragged as k2r
|
||||
import kaldialign
|
||||
import torch
|
||||
import torch.distributed as dist
|
||||
|
@ -16,9 +16,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from icefall.bpe_graph_compiler import BpeCtcTrainingGraphCompiler
|
||||
from icefall.lexicon import BpeLexicon
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test():
|
||||
|
Loading…
x
Reference in New Issue
Block a user