Skip to content

Commit

Permalink
Update decode_stream.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyeung authored Aug 8, 2023
1 parent 23e2c0f commit 436ae9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/librispeech/ASR/zipformer/decode_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(
self.hyps = HypothesisList()
self.hyps.add(
Hypothesis(
ys=[params.blank_id] * params.context_size,
ys=[-1] * (params.context_size - 1) + [params.blank_id],
log_prob=torch.zeros(1, dtype=torch.float32, device=device),
)
)
Expand Down

0 comments on commit 436ae9b

Please sign in to comment.