| from setuptools import setup, find_packages | |
| setup( | |
| name="torchlosses", | |
| version="0.1.0", | |
| description="A collection of advanced PyTorch loss functions (Focal, Dice, Contrastive, Triplet, Cosine, Huber, KLDiv).", | |
| author="Naga Adithya Kaushik (GenAIDevTOProd)", | |
| author_email="[email protected]", | |
| url="https://huggingface.co/GenAIDevTOProd", | |
| packages=find_packages(), | |
| install_requires=["torch>=1.10"], | |
| classifiers=[ | |
| "Programming Language :: Python :: 3", | |
| "License :: OSI Approved :: Apache Software License", | |
| "Operating System :: OS Independent", | |
| ], | |
| python_requires=">=3.7", | |
| ) | |