File size: 1,453 Bytes
9c890d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "infd4rt-scale4d-examples"
version = "0.1.3"
description = "Standalone SCALE4D inference and interactive example viewers"
readme = "README.md"
requires-python = ">=3.10"
dependencies = ["numpy", "Pillow", "huggingface-hub"]

[project.optional-dependencies]
model = ["torch>=2.6", "opencv-python", "timm>=1.0", "safetensors"]
flash = ["flash-attn"]
dev = ["pytest", "ruff"]

[project.scripts]
scale4d-viewer = "demo.scale4d_view_count.__main__:main"
scale4d-infer = "d4rt_scripts.demo.scale4d_inference:main"
scale4d-view-count = "d4rt_scripts.demo.scale4d_view_count:main"
scale4d-teacher-sample = "d4rt_scripts.demo.scale4d_teacher_sample:main"
scale4d-export-teacher = "d4rt_scripts.export_scale4d_teacher:main"
scale4d-distillation-viewer = "demo.scale4d_view_count.distillation:main"
scale4d-source-object-viewer = "demo.scale4d_view_count.source_objects:main"
scale4d-camera-ablation = "d4rt_scripts.demo.scale4d_camera_ablation:main"

[tool.setuptools.packages.find]
where = ["."]
include = ["demo*", "d4rt_scripts*", "evaluation*", "nets*"]

[tool.setuptools.package-data]
"demo.scale4d_view_count" = ["*.html", "*.js"]
"nets.ucpe_cd50" = ["model_config*.json"]
"nets.ucpe_cd50_stable" = ["model_config*.json"]

[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]

[tool.ruff]
line-length = 88
target-version = "py310"