Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed formatting issue #1791

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions egs/librispeech/ASR/zipformer/ctc_decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@
find_checkpoints,
load_checkpoint,
)

from icefall.context_graph import ContextGraph, ContextState

from icefall.decode import (
ctc_greedy_search,
ctc_prefix_beam_search,
Expand All @@ -147,11 +145,9 @@
rescore_with_n_best_list,
rescore_with_whole_lattice,
)

from icefall.ngram_lm import NgramLm, NgramLmStateCost
from icefall.lexicon import Lexicon
from icefall.lm_wrapper import LmScorer

from icefall.ngram_lm import NgramLm, NgramLmStateCost
from icefall.utils import (
AttributeDict,
get_texts,
Expand Down
2 changes: 1 addition & 1 deletion icefall/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import torch

from icefall.context_graph import ContextGraph, ContextState
from icefall.ngram_lm import NgramLm, NgramLmStateCost
from icefall.lm_wrapper import LmScorer
from icefall.ngram_lm import NgramLm, NgramLmStateCost
from icefall.utils import add_eos, add_sos, get_texts

DEFAULT_LM_SCALE = [
Expand Down
Loading