catalyst-team / catalyst

Accelerated deep learning R&D
https://catalyst-team.com
Apache License 2.0
3.3k stars 388 forks source link

Implementation of the loss from Supervised Contrastive Loss paper. #1293

Closed Nimrais closed 3 years ago

Nimrais commented 3 years ago

Before submitting (checklist)

Description

In the paper Supervised Contrastive Loss, the abstract contrastive criterion was proposed. This PR carefully implements this criterion.

Related Issue

Type of Change

PR review

Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

FAQ

Please review the FAQ before submitting an issue:

pep8speaks commented 3 years ago

Hello @Nimrais! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2021-09-13 07:44:25 UTC