We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
out = K.get_value(K.ctc_decode(y_pred, input_length=np.ones(shape[0]) * shape[1])[0][0])[:, :4]
每个字符的概率该如何读出,我对RNN不熟悉,请大佬指点迷津,万分感谢
The text was updated successfully, but these errors were encountered:
y_pred 就是每个字符的概率,比如我们可以对 y_pred 的概率找最大的值来看输出的概率对应的字符:
argmax = np.argmax(y_pred, axis=2)[0] list(zip(argmax, ''.join([characters2[x] for x in argmax])))
Sorry, something went wrong.
No branches or pull requests
out = K.get_value(K.ctc_decode(y_pred, input_length=np.ones(shape[0]) * shape[1])[0][0])[:, :4]
每个字符的概率该如何读出,我对RNN不熟悉,请大佬指点迷津,万分感谢
The text was updated successfully, but these errors were encountered: