Skip to content

Commit

Permalink
Merge branch 'asr_upd'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfix committed Nov 29, 2023
2 parents be021df + 0564650 commit a90f7c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LabsSolutions/02-pytorch-asr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ def beam_decode(self, inputs: PackedSequence, beam_size: int, blank_id: int):
outputs = self.forward(inputs)
return beam_decode(outputs, beam_size, blank_id, self.charmap)


# @SOL
# SOL@


class CTCModel(nn.Module):
Expand Down Expand Up @@ -473,6 +472,8 @@ def beam_decode(self, inputs: PackedSequence, beam_size: int, blank_id: int):
outputs = self.forward(inputs)
return beam_decode(outputs, beam_size, blank_id, self.charmap)

# SOL@


# @SOL
def ex_ctc():
Expand Down

0 comments on commit a90f7c7

Please sign in to comment.