Trans4PASS & SynPASS (CVPR 2022)
Collection
Panoramic semantic segmentation and domain adaptation suite with Trans4PASS, Trans4PASS+, and SynPASS benchmark. β’ 2 items β’ Updated
Official Model Checkpoints Repository for Trans4PASS and Trans4PASS+.
This repository contains all pretrained backbones, supervised weights, and domain adaptation checkpoints matching the Trans4PASS project directory structure:
βββ pretrained/
β βββ mit_b1.pth
β βββ mit_b2.pth
βββ adaptations/
β βββ snapshots/
β βββ CS2DensePASS_Trans4PASS_v1_MPA/BestCS2DensePASS_G.pth
β βββ CS2DensePASS_Trans4PASS_v2_MPA/BestCS2DensePASS_G.pth
β βββ CS132CS132DP13_Trans4PASS_plus_v2_MPA/BestCS132DP13_G.pth
β βββ CS2DP_Trans4PASS_plus_v1_MPA/BestCS2DensePASS_G.pth
β βββ CS2DP_Trans4PASS_plus_v2_MPA/BestCS2DensePASS_G.pth
βββ workdirs/
βββ cityscapes/ (trans4pass & plus, tiny & small)
βββ cityscapes13/ (trans4pass & plus, tiny & small)
βββ stanford2d3d/ (trans4pass & plus, tiny & small)
βββ stanford2d3d8/ (trans4pass & plus, tiny & small)
βββ stanford2d3d_pan/ (folds F1, F2, F3)
βββ structured3d8/ (trans4pass & plus, tiny & small)
βββ synpass/ (trans4pass & plus, tiny & small)
βββ synpass13/ (trans4pass & plus, tiny & small)
| Model | CS mIoU (%) | DP mIoU (%) |
|---|---|---|
| Trans4PASS (Tiny) | 72.49 | 45.89 |
| Trans4PASS (Small) | 72.84 | 51.38 |
| Trans4PASS+ (Tiny) | 72.67 | 50.23 |
| Trans4PASS+ (Small) | 75.24 | 51.41 |
| Model | Val mIoU (%) | Test mIoU (%) |
|---|---|---|
| Trans4PASS (Tiny) | 43.68 | 38.53 |
| Trans4PASS (Small) | 44.80 | 38.57 |
| Trans4PASS+ (Tiny) | 45.21 | 38.85 |
| Trans4PASS+ (Small) | 46.47 | 39.16 |
Using hf:
# Download all models to the local directory
hf download InSAI-Lab/Trans4PASS --local-dir .
Evaluation example:
# In Trans4PASS repository
python tools/eval_sp.py --config-file configs/synpass/trans4pass_plus_tiny_512x512.yaml
@inproceedings{zhang2022bending,
title={Bending Reality: Distortion-aware Transformers for Adapting to Panoramic Semantic Segmentation},
author={Zhang, Jiaming and Yang, Kailun and Ma, Chaoxiang and Rei{\ss}, Simon and Peng, Kunyu and Stiefelhagen, Rainer},
booktitle={CVPR},
pages={16917--16927},
year={2022}
}
@article{zhang2022behind,
title={Behind Every Domain There is a Shift: Adapting Distortion-aware Vision Transformers for Panoramic Semantic Segmentation},
author={Zhang, Jiaming and Yang, Kailun and Shi, Hao and Rei{\ss}, Simon and Peng, Kunyu and Ma, Chaoxiang and Fu, Haodong and Wang, Kaiwei and Stiefelhagen, Rainer},
journal={arXiv preprint arXiv:2207.11860},
year={2022}
}