Views
No views yet
CondadosAI/ for use with the acaua computer vision library.model.safetensors file is byte-identical to upstream; we do not modify weights or configuration. The legacy pytorch_model.bin (pickle format) that upstream ships alongside safetensors has been deliberately removed from this mirror for security hygiene — pickle loads can execute arbitrary code, and transformers auto-prefers safetensors when both are present, so removing it has zero functional impact on downstream users.| Upstream repo | facebook/mask2former-swin-tiny-coco-instance |
| Upstream commit SHA | 22c4a2f15dc88149b8b8d9f4d42c54431fbd66f6 |
| Upstream commit date | 2023-09-11 |
| Declared license | Apache-2.0 (upstream YAML frontmatter) |
| Paper | Cheng et al., "Masked-attention Mask Transformer for Universal Image Segmentation", CVPR 2022, arXiv:2112.01527 |
| Official code | facebookresearch/Mask2Former (MIT) |
| Backbone | Swin-Tiny, pretrained on ImageNet-1k (per upstream model card) |
| Mirrored on | 2026-04-17 |
| Mirrored by | CondadosAI/acaua |
1import acaua
2model = acaua.Model.from_pretrained("CondadosAI/mask2former_swin_tiny_coco_instance")
3results = model.predict("image.jpg")
4for r in results:
5 print(r.boxes, r.labels, r.scores, r.masks.shape)1from transformers import AutoModelForUniversalSegmentation, AutoImageProcessor
2model = AutoModelForUniversalSegmentation.from_pretrained(
3 "CondadosAI/mask2former_swin_tiny_coco_instance"
4)
5processor = AutoImageProcessor.from_pretrained(
6 "CondadosAI/mask2former_swin_tiny_coco_instance"
7)facebookresearch/Mask2Former is MIT-licensed; the weights as distributed by facebook/* on Hugging Face are declared Apache-2.0.NOTICE for required attribution to upstream contributors (Meta AI Research / FAIR, Mask2Former authors, Swin Transformer authors).1@inproceedings{cheng2022mask2former,
2 title={Masked-attention Mask Transformer for Universal Image Segmentation},
3 author={Cheng, Bowen and Misra, Ishan and Schwing, Alexander G and Kirillov, Alexander and Girdhar, Rohit},
4 booktitle={CVPR},
5 year={2022}
6}
7
8@inproceedings{liu2021swin,
9 title={Swin Transformer: Hierarchical Vision Transformer using Shifted Windows},
10 author={Liu, Ze and Lin, Yutong and Cao, Yue and Hu, Han and Wei, Yixuan and Zhang, Zheng and Lin, Stephen and Guo, Baining},
11 booktitle={ICCV},
12 year={2021}
13}