Skip to main content

A simple PyTorch implementation of focal loss.

Project description

focal-loss-pytorch

Simple vectorized PyTorch implementation of binary unweighted focal loss as specified by [1].

References

[1] Lin, T. Y., et al. "Focal loss for dense object detection." arXiv 2017." arXiv preprint arXiv:1708.02002 (2002).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

focal_loss_pytorch-0.0.2.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

focal_loss_pytorch-0.0.2-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page