-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[Fix] Add avg_non_ignore in cross entropy loss #1409
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
Merged
MeowZheng
merged 21 commits into
open-mmlab:master
from
MengzhangLI:fix_ignore_index_ce
Mar 30, 2022
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
42175eb
[Fix] Add avg_non_ignore in cross entropy loss
MengzhangLI a829a15
[Fix] Add avg_non_ignore in cross entropy loss
MengzhangLI f646c84
add docstring
MengzhangLI 185e851
fix ut
MengzhangLI 2d265f2
fix docstring and comments
MengzhangLI 074eef2
fix
MengzhangLI 36a8bcc
fix bce
MengzhangLI e1e0686
fix avg_factor in BCE and add more ut
MengzhangLI c277ded
add avg_non_ignore
MengzhangLI a36362a
add more ut
MengzhangLI 460532f
fix part of ut
MengzhangLI 729768b
fix part of ut
MengzhangLI d148f31
test avg_non_ignore would not affect ce/bce when reduction none/sum
MengzhangLI 97960b8
test avg_non_ignore would not affect ce/bce when reduction none/sum/mean
MengzhangLI a9b1c9a
re-organize ut
MengzhangLI 0d19e15
re-organize ut
MengzhangLI a0615cb
re-organize ut
MengzhangLI 03e7ac0
re-organize hardcode case
MengzhangLI 8b1dcdc
fix parts of comments
MengzhangLI 32d722f
fix another parts of comments
MengzhangLI a4e4b0a
fix
MengzhangLI File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.