-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Enhancement] Support ignore_index for sigmoid BCE #210
Conversation
Codecov Report
@@ Coverage Diff @@
## master #210 +/- ##
==========================================
+ Coverage 84.26% 84.28% +0.02%
==========================================
Files 90 90
Lines 4315 4322 +7
Branches 684 685 +1
==========================================
+ Hits 3636 3643 +7
- Misses 537 538 +1
+ Partials 142 141 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi, I changed files as https://github.com/open-mmlab/mmsegmentation/pull/210/commits/0f316127623a32c65585b3d10e80bb770ea17789 did. |
Task linked: CU-f6t2qg fix BCE loss |
@xvjiarui Could you have a look? |
Hi @DreamerWangDr |
* [Enhancement] Add args check for ignore_index * Support ignore_index
* Implement `pipeline.to(device)` * DiffusionPipeline.to() decides best device on None. * Breaking change: torch_device removed from __call__ `pipeline.to()` now has PyTorch semantics. * Use kwargs and deprecation notice Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> * Apply torch_device compatibility to all pipelines. * style Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by: anton-l <anton@huggingface.co>
Fixed #162
Fixed #201