← 开源
foamliu

Deep-Image-Matting-PyTorch

Deep Image Matting implementation in PyTorch

Model DevelopmentArchitecturePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
832
Star
181
Fork
+0
本周
2
贡献者
创建于 2019-06-21 · 更新于 2026-09-01 · 今日第 13366 名
主要开发者
foamliuwrrJasmine

foamliu/Deep-Image-Matting-PyTorch 排名第 13,366,有 832 个星标。

同类别比较

foamliu/Deep-Image-Matting-PyTorch 排名第 13,366,此处有 8 个同类条目;smilelight/lightNLP 排名第 13,369。

同类别比较
名称排名指标
finegrain-ai/refiners13,356
语言:
Python
星标数:
833
分叉数:
63
简介:
Refiners (discontinued early 2025) was a microframework on top of PyTorch with first-class citizen APIs for foundation model adaptation.
koaning/human-learn13,358
语言:
Jupyter Notebook
星标数:
833
分叉数:
54
简介:
Natural Intelligence is still a pretty good idea.
tonl-dev/tonl13,361
语言:
TypeScript
星标数:
833
分叉数:
36
简介:
TONL (Token-Optimized Notation Language)
wujiyang/Face_Pytorch13,362
语言:
Python
星标数:
833
分叉数:
154
简介:
face recognition algorithms in pytorch framework, including arcface, cosface, sphereface and so on
smilelight/lightNLP13,369
语言:
Python
星标数:
832
分叉数:
209
简介:
基于Pytorch和torchtext的自然语言处理深度学习框架。
somaticio/tensorflow.rb13,370
语言:
Ruby
星标数:
832
分叉数:
61
简介:
tensorflow for ruby
elki-project/elki13,373
语言:
Java
星标数:
831
分叉数:
322
简介:
ELKI Data Mining Toolkit
WangRongsheng/ChatGenTitle13,383
语言:
Python
星标数:
830
分叉数:
70
简介:
🌟 ChatGenTitle:使用百万arXiv论文信息在LLaMA模型上进行微调的论文题目生成模型
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture
星标数832
分叉数181
贡献者2
创建日期2019-06-21
更新日期2026-09-01
1 天星标数0
7 天星标数0
排名13,366
上次排名13,267
排名变化-99
7 天星标排名13,904
上次 7 天星标排名13,927
7 天星标排名变化23
总星标排名12,909
上次总星标排名12,888
总星标排名变化-21
国家China
README 摘录

Deep Image Matting Deep Image Matting paper implementation in PyTorch. "fc6" is clumpy, over 100 millions parameters, makes the model hard to converge. I guess it is the reason why the model (paper) has to be trained stagewisely. Performance The Composition-1k testing dataset. Both erode and dialte to generate trimap. 0 Dataset Adobe Deep Image Matting Dataset Follow the instruction to contact author for the dataset. MSCOCO Go to MSCOCO to download: 2014 Train images PASCAL VOC Go to

PASCAL VOC to download: VOC challenge 2008 training/validation data The test data for the VOC2008 challenge Usage Data Pre-processing Extract training images: Train If you want to visualize during training, run in your terminal: Experimental results The Composition-1k testing dataset 1. Test: It prints out average SAD and MSE errors when finished. Download the evaluation datasets: Go to the Datasets page and download the evaluation datasets. Make sure you pick the low-resolution dataset.

常见问题

记录了多少星标和分叉?

foamliu/Deep-Image-Matting-PyTorch 有 832 个星标和 181 个分叉。

仓库排名是多少?

foamliu/Deep-Image-Matting-PyTorch 排名第 13,366。

记录的语言和类别是什么?

foamliu/Deep-Image-Matting-PyTorch 有 832 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

foamliu/Deep-Image-Matting-PyTorch 与 smilelight/lightNLP 比较,后者排名第 13,369,有 832 个星标。

README

Deep Image Matting

Deep Image Matting paper implementation in PyTorch.

Differences

  1. "fc6" is dropped.
  2. Indices pooling.

"fc6" is clumpy, over 100 millions parameters, makes the model hard to converge. I guess it is the reason why the model (paper) has to be trained stagewisely.

Performance

  • The Composition-1k testing dataset.
  • Evaluate with whole image.
  • SAD normalized by 1000.
  • Input image is normalized with mean=[0.485, 0.456, 0.406] and std=[0.229, 0.224, 0.225].
  • Both erode and dialte to generate trimap.
Models SAD MSE Download
paper-stage0 59.6 0.019
paper-stage1 54.6 0.017
paper-stage3 50.4 0.014
my-stage0 66.8 0.024 Link

Dependencies

  • Python 3.5.2
  • PyTorch 1.1.0

Dataset

Adobe Deep Image Matting Dataset

Follow the instruction to contact author for the dataset.

MSCOCO

Go to MSCOCO to download:

PASCAL VOC

Go to PASCAL VOC to download:

Usage

Data Pre-processing

Extract training images:

$ python pre_process.py

Train

$ python train.py

If you want to visualize during training, run in your terminal:

$ tensorboard --logdir runs

Experimental results

The Composition-1k testing dataset

  1. Test:
$ python test.py

It prints out average SAD and MSE errors when finished.

The alphamatting.com dataset

  1. Download the evaluation datasets: Go to the Datasets page and download the evaluation datasets. Make sure you pick the low-resolution dataset.

  2. Extract evaluation images:

$ python extract.py
  1. Evaluate:
$ python eval.py

Click to view whole images:

Image Trimap1 Trimap2 Trimap3

Demo

Download pre-trained Deep Image Matting Link then run:

$ python demo.py
Image/Trimap Output/GT New BG/Compose

小小的赞助~

 ![Sample](https://github.com/foamliu/Deep-Image-Matting-Pytorch/blob/master/sponsor.jpg) 


	若对您有帮助可给予小小的赞助~
排名相邻
同类项目