Commit 1bf75107 authored by Yann SOULLARD's avatar Yann SOULLARD

example ok

parent a52e8d57
......@@ -80,4 +80,4 @@ if __name__ == '__main__':
# predict label sequences
pred = network.predict([x_test_pad, x_test_len], batch_size=batch_size, max_value=padding_value)
for i in range(10): # print the 10 first predictions
print("Prediction :", pred[i], " -- Label : ", y_test[i]) # [j for j in pred[i] if j!=-1]
\ No newline at end of file
print("Prediction :", [j for j in pred[i] if j!=-1], " -- Label : ", y_test[i])
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment