Skip to content

Commit f0c3857

Browse files
committed
Use new viterbi decode number of params
1 parent 77d07e6 commit f0c3857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/viterbi_wikipedia_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def main():
4040
tf_model = HMMTensorflow(trans, p0)
4141

4242
y = emi[obs_seq]
43-
tf_s_graph, tf_scores_graph = tf_model.viterbi_decode(y, len(y))
43+
tf_s_graph, tf_scores_graph = tf_model.viterbi_decode(y)
4444
tf_s = tf.Session().run(tf_s_graph)
4545
print("Most likely States: ", [obs[s] for s in tf_s])
4646

0 commit comments

Comments
 (0)