MAT
fenglinglwb/MAT · Public GitHub repository
MAT: Mask-Aware Transformer for Large Hole Image Inpainting
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
Model Data Small Mask Large Mask FID↓ P-IDS↑ U-IDS↑ FID↓ P-IDS↑ U-IDS↑ MAT (Ours) 8M 0.78 31.72 43.71 1.96 23.42 38.34 MAT (Ours) 1.8M 1.07 27.42 41.93 2.90 19.03 35.36 CoModGAN 8M 1.10 26.95 41.88 2.92 19.64 35.78 LaMa-Big 4.5M 0.99 22.79 40.58 2.97 13.09 32.39
- \[2022.10.03\] Model for FFHQ-512 is available. (Link)
- \[2022.09.10\] We could provide all testing images of Places and CelebA inpainted by our MAT and other methods. Since there are too many images, please send an email to wenboli@cse.cuhk.edu.hk and explain your needs.
- \[2022.06.21\] We provide a SOTA Places-512 model (Places\512\FullData.pkl) trained with full Places data (8M images). It achieves significant improvements on all metrics.
- \[2022.06.19\] We have uploaded the CelebA-HQ-256 model and masks. Because the original model was lost, we retrained the model so that the results may slightly differ from the reported ones.
Requirements and intended audience
Model Data Small Mask Large Mask FID↓ P-IDS↑ U-IDS↑ FID↓ P-IDS↑ U-IDS↑ MAT (Ours) 8M 0.78 31.72 43.71 1.96 23.42 38.34 MAT (Ours) 1.8M 1.07 27.42 41.93 2.90 19.03 35.36 CoModGAN 8M 1.10 26.95 41.88 2.92 19.64 35.78 LaMa-Big 4.5M 0.99 22.79 40.58 2.97 13.09 32.39
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-20. Source: https://github.com/fenglinglwb/MAT/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2024-07-02. A published release has not been recorded. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- No licence detected. No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge