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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sparse_categorical_accuracy 跟 categorical_accuracy区分
if len(intent_pred.shape) == 2 and intent_pred.shape[1] == 1: intent_acc = tf.keras.metrics.categorical_accuracy( y_true=intent_true, y_pred=intent_pred) else: intent_acc = tf.keras.metrics.sparse_categorical_accuracy( y_true=intent_true, y_pred=intent_pred)
The text was updated successfully, but these errors were encountered:
[fix] fix nlu acc (#4)
2994633
No branches or pull requests
sparse_categorical_accuracy 跟 categorical_accuracy区分
The text was updated successfully, but these errors were encountered: