๐ ICCV 2025: PacGDC
July 18, 2025 ยท View on GitHub
PacGDC: Label-Efficient Generalizable Depth Completion with Projection Ambiguity and Consistency
Haotian Wang, Aoran Xiao, Xiaoqin Zhang, Meng Yang, and Shijian Lu
International Conference on Computer Vision (ICCV), October 2025
๐ Abstract

PacGDC is a label-efficient technique that enhances data diversity with minimal annotation effort for generalizable depth completion. It builds on novel insights into inherent ambiguities and consistencies in object shapes and positions during 2D-to-3D projection, allowing the synthesis of numerous pseudo geometries for the same visual scene. This process greatly broadens available geometries by manipulating scene scales of the corresponding depth maps. To leverage this property, we propose a new data synthesis pipeline that uses multiple depth foundation models as scale manipulators. These models robustly provide pseudo depth labels with varied scene scales, affecting both local objects and global layouts, while ensuring projection consistency that supports generalization. To further diversify geometries, we incorporate interpolation and relocation strategies, as well as unlabeled images, extending the data coverage beyond the individual use of foundation models.
โ๏ธ Requirements
- Python >= 3.9
- PyTorch >= 2.7
๐๏ธโโ๏ธ Training
1๏ธโฃ Prepare Your Data
- Save your training datasets in
./Datasets/Data_Train:
โโโ Data_Train
โโโ Labeled # Labeled datasets
โ โโโ Dataset1
โ โ โโโ rgb
โ โ โ โโโ file1.png
โ โ โ โโโ file2.png
โ โ โ โโโ ...
โ โ โโโ depth
โ โ โ โโโ file1.png
โ โ โ โโโ file2.png
โ โ โ โโโ ...
โ โ โโโ DA # DepthAnything Results
โ โ โ โโโ file1.png
โ โ โ โโโ file2.png
โ โ โ โโโ ...
โ โ โโโ DepthPro # DepthPro Results
โ โ โโโ file1.png
โ โ โโโ file2.png
โ โ โโโ ...
โ โโโ Dataset2
โ โโโ ...
โโโ UnLabeled # Unlabeled datasets
โโโ Dataset1
โ โโโ rgb
โ โ โโโ ...
โ โโโ DA
โ โ โโโ ...
โ โโโ DepthPro
โ โ โโโ ...
โโโ Dataset2
โโโ ...
โ ๏ธ Note:
depthshould be stored in 16-bit format, normalized bydepth(m)/max_depth(m)*65535.max_depth=30(m)for indoor datasets,max_depth=150(m)for outdoor datasets.
- Save your hole datasets in
./Datasets/Data_Hole:
โโโ Hole_Datasets
โโโ Dataset1
โ โโโ file1.png
โ โโโ file2.png
โ โโโ ...
โโโ Dataset2
โโโ file1.png
โโโ file2.png
โโโ ...
โ ๏ธ Note:
- Hole maps should be stored in Uint8 format.
valid pixels = 255,invalid pixels = 0.- Example: Hole collected from HRWSI
2๏ธโฃ Start Training
- Run
train.py:
# model_type: ["T", "S", "B", "L"] referring to SPNet
python train.py --model_type="L" --foundation_models="DA_DepthPro"
# All configuration parameters are located in ".\src\configs.py" and can be customized as required.
- The trained model will be saved in
./logs/models
๐งช Testing
- Download and locally save the
Zero-Shot Checkpointto./Pretrained
| Checkpoints | Model Type | Foundation Models | Drop rate |
|---|---|---|---|
| Zero-shot | SPNet-Large | DA, DepthPro | 0.5 |
| KITTI Finetuned (Online Leaderboard) | SPNet-Large | DA, DepthPro | 0.8 |
- If you want to load
Zero-Shot Checkpointusing Hugging Face:
# update test.py as follows:
# hugging face loading
net = CompletionNet.from_pretrained("Haotian-sx/PacGDC_large").to(args.device).eval()
# locally loading
# net = CompletionNet(str(args.ckpt_path.name)[0]).to(args.device).eval()
# net.load_state_dict(torch.load(args.ckpt_path)["network"])
- Download and unzip Test Dataset (Ibims) to
./Datasets/Data_Test - โถ๏ธ Run
test.py:
# 1. Normalize depth values to [0,1] by "depth(m)/max_depth(m)*65535"
# (The provided "Test Dataset (Ibims)" is already normalized with max_depth=30 (Indoor))
# 2. Run test.py
python test.py --ckpt_path="Pretrained/L_DA_DepthPro.pth" --max_depth=30
โ ๏ธ Note:
KITTI Fine-tuned Checkpointsare released for autonomous driving applications. This repository does not reimplement few-shot/full-shot fine-tuning, as existing public repositories like LRRU and CompletionFormer already provide effective solutions.
๐ Research Trajectory
๐ข G2-MonoDepth (Framework) โ ๐ต SPNet (Network) โ ๐ด PacGDC (Data)
๐ Citation
If you find our work useful, please cite:
@article{wang2025pacgdc,
title = {PacGDC: Label-Efficient Generalizable Depth Completion with Projection Ambiguity and Consistency},
author = {Wang, Haotian and Xiao, Aoran and Zhang, Xiaoqin and Yang, Meng and Lu, Shijian},
journal = {arXiv preprint arXiv:2507.07374},
year = {2025},
url = {https://arxiv.org/abs/2507.07374}
}