diff --git a/example.py b/example.py index aa3598371249c26d6b87194d7d81250261a04dff..cc7ca6e184f1219c0f2fd15875abc7b35c1cbbef 100644 --- a/example.py +++ b/example.py @@ -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