mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-15 20:22:42 +00:00
Fix style checking
This commit is contained in:
parent
88bb4046af
commit
fb98c5d1bf
1
.flake8
1
.flake8
@ -5,6 +5,7 @@ max-line-length = 80
|
||||
per-file-ignores =
|
||||
# line too long
|
||||
egs/librispeech/ASR/conformer_ctc/conformer.py: E501,
|
||||
egs/librispeech/ASR/conformer_ctc/decode.py: E501,
|
||||
|
||||
exclude =
|
||||
.git,
|
||||
|
@ -43,6 +43,7 @@ from icefall.utils import (
|
||||
setup_logger,
|
||||
store_transcripts,
|
||||
write_error_stats,
|
||||
str2bool,
|
||||
)
|
||||
|
||||
|
||||
|
@ -219,7 +219,7 @@ def main():
|
||||
features, batch_first=True, padding_value=math.log(1e-10)
|
||||
)
|
||||
features = features.permute(0, 2, 1) # now features is [N, C, T]
|
||||
|
||||
|
||||
with torch.no_grad():
|
||||
nnet_output = model(features)
|
||||
# nnet_output is [N, T, C]
|
||||
|
Loading…
x
Reference in New Issue
Block a user