Skip to content

Conversation

@yghstill
Copy link
Contributor

PR types

Bug fixes

PR changes

OPs

Describe

When label < 0 or > D with numeric_stable_mode=True, it will report an error and ignore_index doesn't work. It is not as expected. So fix ignore_index label check in softmax_with_cross_entropy.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@chenwhql chenwhql merged commit d18c5e4 into PaddlePaddle:develop Feb 25, 2021
@yghstill yghstill deleted the fix_ignore_index_sce branch February 25, 2021 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants