Skip to content

v0.9.83

Compare
Choose a tag to compare
@KevinMusgrave KevinMusgrave released this 13 Apr 22:46
· 1130 commits to master since this release

Losses

  • Added CircleLoss, implemented by @AlenUbuntu
  • Changes to ProxyAnchorLoss:
    • Fixed bug that caused it to break when normalize_embeddings=False
    • Made it extend WeightRegularizerMixin
  • Fixed/improved application of miner_weights in ProxyAnchorLoss, NCALoss, and FastAPLoss

Utils

  • Added AccuracyCalculator
  • Changes to loss_and_miner_utils
    • Made convert_to_weights return values between 0 and 1, where 1 represents the most frequently occuring sample. Before, it was scaling the probability by size of batch.

Other stuff

  • Added a test for convert_to_weights