mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-09 09:04:19 +00:00
monir style fix
This commit is contained in:
parent
26b443eac3
commit
603b707fa8
@ -71,8 +71,8 @@ import torch
|
|||||||
import torch.multiprocessing as mp
|
import torch.multiprocessing as mp
|
||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
from asr_datamodule import LibriSpeechAsrDataModule
|
from asr_datamodule import LibriSpeechAsrDataModule
|
||||||
from emformer import Emformer
|
|
||||||
from decoder import Decoder
|
from decoder import Decoder
|
||||||
|
from emformer import Emformer
|
||||||
from joiner import Joiner
|
from joiner import Joiner
|
||||||
from lhotse.cut import Cut
|
from lhotse.cut import Cut
|
||||||
from lhotse.dataset.sampling.base import CutSampler
|
from lhotse.dataset.sampling.base import CutSampler
|
||||||
@ -141,7 +141,7 @@ def add_model_arguments(parser: argparse.ArgumentParser):
|
|||||||
type=int,
|
type=int,
|
||||||
default=32,
|
default=32,
|
||||||
help="""Number of frames before subsampling for left context
|
help="""Number of frames before subsampling for left context
|
||||||
in the Emformer."""
|
in the Emformer.""",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
@ -149,7 +149,7 @@ def add_model_arguments(parser: argparse.ArgumentParser):
|
|||||||
type=int,
|
type=int,
|
||||||
default=32,
|
default=32,
|
||||||
help="""Number of frames before subsampling for each chunk
|
help="""Number of frames before subsampling for each chunk
|
||||||
in the Emformer."""
|
in the Emformer.""",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
@ -157,7 +157,7 @@ def add_model_arguments(parser: argparse.ArgumentParser):
|
|||||||
type=int,
|
type=int,
|
||||||
default=8,
|
default=8,
|
||||||
help="""Number of frames before subsampling for right context
|
help="""Number of frames before subsampling for right context
|
||||||
in the Emformer."""
|
in the Emformer.""",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user