# GFM

\[IJCV 2022\] Bridging Composite and Real: Towards End-to-end Deep Image Matting

Canonical page: https://www.reposhelf.co.uk/projects/github/jizhizili/gfm.html

- Project ID: JizhiziLi/GFM
- Source: GitHub
- Original project: https://github.com/JizhiziLi/GFM
- Description attribution: project author metadata
- Categories: Other
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-23T13:16:07.086Z
- Demo page loaded: 2026-11-20T18:01:19.538Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

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.

> This is the official repository of the paper Bridging Composite and Real: Towards End-to-end Deep Image Matting.

> This repository contains the code, datasets, models, test results and a video demo for the paper Bridging Composite and Real: Towards End-to-end Deep Image Matting. We propose a novel Glance and Focus Matting network \(GFM\), which employs a shared encoder and two separate decoders to learn both tasks in a collaborative manner for end-to-end image matting. We also establish a novel Animal Matting dataset \(AM-2k\) to serve for end-to-end matting task. Furthermore, we investigate the domain gap issue between composition images and natural images systematically, propose a carefully designed…

> We have released the train code, the test code, the datasets, and the pretrained models in this code-base page. We have also prepared a Google Colab demo and inference code for you to test on our pre-trained models on your own sample images. For the datasets AM-2k and BG-20k, please follow the sections AM-2k and BG-20k to access. Besides, we prepare a video demo \(YouTube \| bilibili\) to illustrate the motivation, the network, the datasets, and the test results on an animal video



## Author-documented requirements and audience

> This is the official repository of the paper Bridging Composite and Real: Towards End-to-end Deep Image Matting.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/JizhiziLi/GFM/blob/master/README.md

Extraction checked: 2026-11-02T02:09:48.807Z

Last recorded source update: 2023-04-13T03:50:40.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=JizhiziLi%2FGFM). 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)
