Skip to content
Snippets Groups Projects
Commit 4119ac83 authored by Harald Scheidl's avatar Harald Scheidl
Browse files
parents b6ad21b6 31e7757a
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ class Model:
corpus = open('../data/corpus.txt').read()
# decode using the "Words" mode of word beam search
self.decoder = word_beam_search_module.word_beam_search(tf.nn.softmax(ctcIn3dTBC, dim=2), 50, 'Words', 0.0, corpus.encode('utf8'), chars.encode('utf8'), wordChars.encode('utf8'))
self.decoder = word_beam_search_module.word_beam_search(tf.nn.softmax(self.ctcIn3dTBC, dim=2), 50, 'Words', 0.0, corpus.encode('utf8'), chars.encode('utf8'), wordChars.encode('utf8'))
def setupTF(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment