Skip to content

Commit

Permalink
Merge pull request #154 from TensorSpeech/fix/rnnt
Browse files Browse the repository at this point in the history
Fix duplicate log softmax
  • Loading branch information
nglehuy authored Feb 24, 2021
2 parents 112a0c3 + bb1584a commit 5fbd6a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

setuptools.setup(
name="TensorFlowASR",
version="0.7.7",
version="0.7.8",
author="Huy Le Nguyen",
author_email="[email protected]",
description="Almost State-of-the-art Automatic Speech Recognition using Tensorflow 2",
Expand Down
1 change: 0 additions & 1 deletion tensorflow_asr/losses/rnnt_losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def rnnt_loss_tf(logits, labels, label_length, logit_length, name=None):
name = "rnnt_loss" if name is None else name
with tf.name_scope(name):
logits = tf.convert_to_tensor(logits, name="logits")
logits = tf.nn.log_softmax(logits)
labels = tf.convert_to_tensor(labels, name="labels")
label_length = tf.convert_to_tensor(label_length, name="label_length")
logit_length = tf.convert_to_tensor(logit_length, name="logit_length")
Expand Down

0 comments on commit 5fbd6a8

Please sign in to comment.