Skip to content

Commit

Permalink
🚀 update dependencies and fix rnn layer name
Browse files Browse the repository at this point in the history
  • Loading branch information
nglehuy committed Dec 27, 2020
1 parent b771734 commit cb08490
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
"tqdm>=4.54.1",
"colorama>=0.4.4",
"nlpaug>=1.1.1",
"nltk>=3.5"
]

setuptools.setup(
name="TensorFlowASR",
version="0.6.1",
version="0.6.2",
author="Huy Le Nguyen",
author_email="[email protected]",
description="Almost State-of-the-art Automatic Speech Recognition using Tensorflow 2",
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_asr/models/streaming_transducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self,
RNN = get_rnn(rnn_type)
self.rnn = RNN(
units=rnn_units, return_sequences=True,
name=f"{self.name}_rnn", return_state=True,
name=f"{self.name}_{rnn_type}", return_state=True,
kernel_regularizer=kernel_regularizer,
bias_regularizer=bias_regularizer
)
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_asr/models/transducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self,
for i in range(num_rnns):
rnn = RNN(
units=rnn_units, return_sequences=True,
name=f"{name}_lstm_{i}", return_state=True,
name=f"{name}_{rnn_type}_{i}", return_state=True,
implementation=rnn_implementation,
kernel_regularizer=kernel_regularizer,
bias_regularizer=bias_regularizer
Expand Down

0 comments on commit cb08490

Please sign in to comment.