BruNet / pyproject.toml
chandlerWang's picture
Claude Fable 5.2
Add the clipdinosam package (source and wheel), licences, usage and citation
0c6b8b5 verified
Raw History Blame Contribute Delete
1.49 kB
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "clipdinosam"
dynamic = ["version"]
description = "BruNet: prompt-free bruise segmentation transferred from skin-lesion masks. Model code, weight loader and trainer."
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["bruise segmentation", "medical imaging", "domain transfer"]
# Everything needed to load and run the released weights (DINOv3 variant).
dependencies = [
"torch>=2.1",
"torchvision",
"transformers>=4.56", # first release with DINOv3ViTModel
"segment-anything>=1.0",
"safetensors",
"huggingface_hub",
"pyyaml",
"numpy",
"opencv-python-headless",
]
[project.optional-dependencies]
# BruNet-LingBot: the official LingBot-Vision code, pinned to the commit used for the paper.
lingbot = [
"lingbot-vision @ git+https://github.com/Robbyant/lingbot-vision.git@151e46321bae4399f8568829f190c7bdec216b49",
]
# Training, evaluation utilities and the optional CLIP / DINOv2 / Swin components.
train = [
"timm",
"open-clip-torch",
"pandas",
"tqdm",
"matplotlib",
"scikit-learn",
"pillow",
"hydra-core",
"omegaconf",
]
[project.urls]
Weights = "https://huggingface.co/chandlerWang/BruNet"
Paper = "https://arxiv.org/abs/2609.11463"
[tool.setuptools.dynamic]
version = { attr = "clipdinosam.__version__" }
[tool.setuptools.packages.find]
include = ["clipdinosam*"]