Skip to content

Commit

Permalink
[paraformer] fix dynamic training (#2290)
Browse files Browse the repository at this point in the history
* [paraformer] fix dynamic training

* [paraformer] fix dynamic training
  • Loading branch information
Mddct authored Jan 10, 2024
1 parent 50153d1 commit b2d4a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wenet/paraformer/paraformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def _forward_encoder(
self,
speech: torch.Tensor,
speech_lengths: torch.Tensor,
decoding_chunk_size: int = -1,
decoding_chunk_size: int = 0,
num_decoding_left_chunks: int = -1,
simulate_streaming: bool = False,
) -> Tuple[torch.Tensor, torch.Tensor]:
Expand Down

0 comments on commit b2d4a78

Please sign in to comment.