Skip to content

Commit bb1584a

Browse files
committed
✍️ fix duplicate log softmax
1 parent 112a0c3 commit bb1584a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
setuptools.setup(
2424
name="TensorFlowASR",
25-
version="0.7.7",
25+
version="0.7.8",
2626
author="Huy Le Nguyen",
2727
author_email="[email protected]",
2828
description="Almost State-of-the-art Automatic Speech Recognition using Tensorflow 2",

tensorflow_asr/losses/rnnt_losses.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ def rnnt_loss_tf(logits, labels, label_length, logit_length, name=None):
235235
name = "rnnt_loss" if name is None else name
236236
with tf.name_scope(name):
237237
logits = tf.convert_to_tensor(logits, name="logits")
238-
logits = tf.nn.log_softmax(logits)
239238
labels = tf.convert_to_tensor(labels, name="labels")
240239
label_length = tf.convert_to_tensor(label_length, name="label_length")
241240
logit_length = tf.convert_to_tensor(logit_length, name="logit_length")

0 commit comments

Comments
 (0)