BIMStruct3D-segmentation / pyproject.toml
mahdichamseddine's picture
Initial release: PT-v3m1 segmentation model (BIMStruct3D pipeline)
7ab05dd verified
Raw History Blame Contribute Delete
1.39 kB
[project]
name = "bimstruct3d-segmentation"
version = "0.1.0"
description = "PT-v3m1 point-cloud semantic segmentation model from the BIMStruct3D pipeline: bundled checkpoint + config + segment_scan.py."
requires-python = ">=3.12,<3.13"
dependencies = [
"torch==2.7.0",
"torchvision",
"spconv-cu126==2.3.8",
"torch-scatter==2.1.2+pt27cu126",
"torch-cluster==1.6.3+pt27cu126",
"timm",
"addict",
"peft",
"yapf",
"termcolor",
"scipy",
"pillow",
"laspy[laszip]",
"open3d",
"numpy",
]
# Upstream Pointcept (github.com/Pointcept/Pointcept) ships no setup.py/pyproject.toml
# of its own -- it's only ever used via PYTHONPATH. The pointcept/ directory here is a
# trimmed vendored copy (inference-only backbones/datasets, see comments in its
# __init__.py files) packaged as part of this project so `uv sync` installs it for real
# instead of relying on a cwd-relative import.
[tool.hatch.build.targets.wheel]
packages = ["pointcept"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
find-links = ["https://data.pyg.org/whl/torch-2.7.0+cu126.html"]
[tool.uv.sources]
torch = { index = "pytorch-cu126" }
torchvision = { index = "pytorch-cu126" }
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true