ViewingSoundPAQ / pyproject.toml
xiaohaoy's picture
Initial release
16231ab verified
Raw History Blame Contribute Delete
1.24 kB
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "viewing-sound-paq"
version = "1.0.0"
description = "Photo-only prediction of the 8 perceived affective qualities (PAQ, ISO 12913) of a soundscape"
requires-python = ">=3.10"
dependencies = [
"numpy>=1.26,<2", # soundaqnet needs numpy < 2
"pandas>=2.1",
"Pillow>=10",
"PyYAML>=6",
"scikit-learn>=1.3",
"scipy>=1.11",
"soundfile>=0.12",
"librosa>=0.10.2",
"pyloudnorm>=0.1.1",
"transformers>=4.57", # SigLIP 2, DINOv3, Qwen3-VL
"accelerate>=1.0",
"safetensors>=0.4",
"huggingface_hub>=0.25",
"tqdm>=4.66",
"matplotlib>=3.8",
"open_clip_torch>=2.32,<4",
"peft>=0.12", # street-view classifier (LoRA)
"soundaqnet==0.2.1", # teacher model for the AQ targets
# ImageBind (models/third_party/ImageBind) runtime dependencies
"timm", "ftfy", "regex", "einops", "iopath",
]
[project.optional-dependencies]
dev = ["pytest>=8", "ruff>=0.6"]
vlm = ["bitsandbytes>=0.43"] # only for rate_paq_vlm.py --quantize 8bit/4bit
[tool.setuptools.packages.find]
where = ["models"]
include = ["soundscape_models*"]
[tool.ruff]
line-length = 120
target-version = "py310"