-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Support squeezed label as input in paddle.metric.Accuracy #28535
New issue
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
Conversation
|
Thanks for your contribution! |
|
✅ This PR's description meets the template requirements! |
4559ba9 to
0282f4f
Compare
0282f4f to
4289442
Compare
| Returns: | ||
| Dataset: instance of cifar-10 dataset | ||
| Dataset: instance of cifar-10 dataset. If transform is None, the shape | ||
| of each data iterm is [3, 32, 32], and default dtype is float32. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认是返回pil的图片,shape应该是[32, 32, 3]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LielinJiang Done. Thanks!
saxon-zh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d2db099
saxon-zh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM

PR types
Bug fixes
PR changes
APIs
Describe