ArchCAD-400K: An Open Large-Scale Architectural CAD Dataset and New Baseline for Panoptic Symbol Spotting
Paper β’ 2503.22346 β’ Published β’ 5
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Model weights for the DPSS (Dual-Pathway Symbol Spotter) trained on the ArchCAD-40K dataset for panoptic symbol spotting in architectural CAD drawings.
| Component | Architecture | Params |
|---|---|---|
| Image branch | HRNet-W48 (pretrained on COCO-Stuff) | ~77M |
| Point branch | PointTransformerV2 | ~30M |
| Adaptive fusion | Attention-based | ~5M |
| Decoder | Mask2Former-style | ~20M |
| Total | ~130M |
dpss_weights.pth β Clean inference weights (state_dict only, ~500MB)best_full.pth β Full training checkpoint with optimizer state (for resume)upstream_code.tar.gz β Upstream DPSS code bundle (all model + data loader code)training_metrics.json β sPQ history from trainingimport torch
from huggingface_hub import hf_hub_download
# Download weights
weights_path = hf_hub_download("mohansshf/dpss-archcad", "dpss_weights.pth")
# Load (requires the upstream code β included in upstream_code.tar.gz)
ckpt = torch.load(weights_path, map_location="cpu")
model.load_state_dict(ckpt["state_dict"])
# Clone the training code
git clone https://github.com/ArchiAI-LAB/ArchCAD _upstream
# Or use the bundled code:
wget https://huggingface.co/mohansshf/dpss-archcad/resolve/main/upstream_code.tar.gz
tar xzf upstream_code.tar.gz -C upstream/
# Install deps
pip install torch torchvision numpy scipy Pillow munch pyyaml tensorboardX tensorboard tqdm huggingface_hub
pip install 'git+https://github.com/facebookresearch/detectron2.git'
# Train (downloads dataset automatically from jackluoluo/ArchCAD)
python train_portable.py --batch_size 8 --epochs 100
Trained on ArchCAD-40K β 41,097 annotated chunks from 5,538 architectural CAD drawings with 30 semantic categories.
@article{Luo2025ArchCAD,
title={ArchCAD-400K: An Open Large-Scale Architectural CAD Dataset and New Baseline for Panoptic Symbol Spotting},
author={Luo R, Liu Z, Cheng T, et al.},
journal={arXiv preprint arXiv:2503.22346},
year={2025}
}