GFM
JizhiziLi/GFM · Public GitHub repository
[IJCV 2022] Bridging Composite and Real: Towards End-to-end Deep Image Matting
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.
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
Requirements and intended 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.
Statements extracted from the author’s documentation · Checked 2026-11-02. Source: https://github.com/JizhiziLi/GFM/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2023-04-13. A published release has not been recorded. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- 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