# MAT

MAT: Mask-Aware Transformer for Large Hole Image Inpainting

Canonical page: https://www.reposhelf.co.uk/projects/github/fenglinglwb/mat.html

- Project ID: fenglinglwb/MAT
- Source: GitHub
- Original project: https://github.com/fenglinglwb/MAT
- Description attribution: project author metadata
- Categories: Other
- Technologies: Python
- Licence: No licence detected
- Repository availability checked: 2026-11-03T18:36:14.650Z
- Demo page loaded: 2026-11-20T19:37:08.238Z

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 checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Model Data Small Mask Large Mask FID&amp;darr; P-IDS&amp;uarr; U-IDS&amp;uarr; FID&amp;darr; P-IDS&amp;uarr; U-IDS&amp;uarr; 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.

## Author-documented requirements and audience

> Model Data Small Mask Large Mask FID&amp;darr; P-IDS&amp;uarr; U-IDS&amp;uarr; FID&amp;darr; P-IDS&amp;uarr; U-IDS&amp;uarr; 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.

Source: https://github.com/fenglinglwb/MAT/blob/main/README.md

Extraction checked: 2026-10-20T05:30:37.529Z

Last recorded source update: 2024-07-02T12:35:44.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=fenglinglwb%2FMAT). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
