Skip to content
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

PR #17651: Add CategoricalFocalCrossentropy to Losses API #17736

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

PR #17651: Add CategoricalFocalCrossentropy to Losses API

Imported from GitHub PR #17651

Implements the CategoricalFocalCrossentropy() loss based on the paper Focal Loss for Dense Object Detection (Lin et al., 2018).

Feature request was made in keras-team/tf-keras#259.
Copybara import of the project:

--
5696b5a by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Add pure logic of CFCE

--
40e547f by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Add support for ragged tensors

--
d3dd32f by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Make sure output sum equals 1

--
16adf85 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Raise shape mismatch / update tests

--
bc38e33 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Add categorical_focal_loss tests

--
363baaf by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Add documentation / minor fix.

--
c267fa0 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Reformatting after focal loss implementation

--
3c33117 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Fix linting.

--
3538622 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Fix docstring style.

--
6b4fa6b by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Update the docstrings.

--
49c03a2 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Fix linting issues

--
f560336 by Kaan Bıçakcı kaan.dvlpr@gmail.com:

Address comments from code-review.

Merging this change closes #17651

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17651 from Frightera:frightera_categorical_focal_loss_v2 f560336

Imported from GitHub PR #17651

Implements the `CategoricalFocalCrossentropy()` loss based on the paper [Focal Loss for Dense Object Detection](https://arxiv.org/pdf/1708.02002.pdf) (Lin et al., 2018).

Feature request was made in #17583.
Copybara import of the project:

--
5696b5a by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Add pure logic of CFCE

--
40e547f by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Add support for ragged tensors

--
d3dd32f by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Make sure output sum equals 1

--
16adf85 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Raise shape mismatch / update tests

--
bc38e33 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Add categorical_focal_loss tests

--
363baaf by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Add documentation / minor fix.

--
c267fa0 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Reformatting after focal loss implementation

--
3c33117 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Fix linting.

--
3538622 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Fix docstring style.

--
6b4fa6b by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Update the docstrings.

--
49c03a2 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Fix linting issues

--
f560336 by Kaan Bıçakcı <kaan.dvlpr@gmail.com>:

Address comments from code-review.

Merging this change closes #17651

FUTURE_COPYBARA_INTEGRATE_REVIEW=#17651 from Frightera:frightera_categorical_focal_loss_v2 f560336
PiperOrigin-RevId: 519824695
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.

1 participant