Official repository for Hierarchical Opacity Propagation for Image Matting

Overview

HOP-Matting

Official repository for Hierarchical Opacity Propagation for Image Matting

🚧 🚧 🚧 Under Construction 🚧 🚧 🚧

🚧 🚧 🚧   Coming Soon    🚧 🚧 🚧

The models pretrained on Adobe Image Matting Dataset are covered by Adobe Deep Image Mattng Dataset License Agreement and can only be used and distributed for noncommercial purposes.

Method Training Data Size MSE SAD Grad Conn Model
HOP-9x9
+PosE+TriE+RI
Adobe Matting Dataset 97 MB 5.7 27.80 11.25 23.73 HOP-9x9-RI
HOP-9x9
+PosE+TriE+RI
Adobe Matting Dataset
+ Composition-1K
97 MB - - - - HOP-9x9-RI-all-data

HOP-9x9-RI-all-data has a better performance on real world images.

You might also like...
Github project for Attention-guided Temporal Coherent Video Object Matting.

Attention-guided Temporal Coherent Video Object Matting This is the Github project for our paper Attention-guided Temporal Coherent Video Object Matti

Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!
Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!

Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!

Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!
Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!

Robust Video Matting (RVM) English | δΈ­ζ–‡ Official repository for the paper Robust High-Resolution Video Matting with Temporal Guidance. RVM is specific

 MODNet: Trimap-Free Portrait Matting in Real Time
MODNet: Trimap-Free Portrait Matting in Real Time

MODNet is a model for real-time portrait matting with only RGB image input.

Real-Time High-Resolution Background Matting
Real-Time High-Resolution Background Matting

Real-Time High-Resolution Background Matting Official repository for the paper Real-Time High-Resolution Background Matting. Our model requires captur

Video Matting Refinement For Python

Video-matting refinement Library (use pip to install) scikit-image numpy av matplotlib Run Static background python path_to_video.mp4 Moving backgroun

Rethinking Portrait Matting with Privacy Preserving
Rethinking Portrait Matting with Privacy Preserving

Rethinking Portrait Matting with Privacy Preserving This is the official repository of the paper Rethinking Portrait Matting with Privacy Preserving.

This repository contains the code for the paper
This repository contains the code for the paper "Hierarchical Motion Understanding via Motion Programs"

Hierarchical Motion Understanding via Motion Programs (CVPR 2021) This repository contains the official implementation of: Hierarchical Motion Underst

This is the code repository for the paper A hierarchical semantic segmentation framework for computer-vision-based bridge column damage detection

Bridge-damage-segmentation This is the code repository for the paper A hierarchical semantic segmentation framework for computer-vision-based bridge c

Comments
  • RuntimeError: shape '[1, 1, 14, 16, 13]' is invalid for input of size 3120

    RuntimeError: shape '[1, 1, 14, 16, 13]' is invalid for input of size 3120

    Dear @Yaoyi-Li,

    Thank you so much for this great work. I'm training this on my custom dataset. With all 512x512 images. The model seems to worked well. However, there are images where I received this error: RuntimeError: shape '[1, 1, 14, 16, 13]' is invalid for input of size 3120

    The problem came from this line and this line in the code. Some images worked well, but there are a lot of images that encountered this error.

    Can you please give me a small guide on how to fix it? Thank you so much!

    opened by EricLe-dev 5
  • Can this run on Mobile?

    Can this run on Mobile?

    Can this or GCA matting be run on Mobile? Is it possible to change the backbone to mobilenet?

    Something similar to this library which convert Deep Matting into mobile friendly (but SAD score isn't very good) https://github.com/foamliu/Mobile-Image-Matting

    I am aware of IndexNet Matting library, but their license is restrictive for commercial purpose.

    opened by InternetMaster1 2
  • About the training code

    About the training code

    We fans of gca and hop matting have been waiting for the training code of hop for a long time. I read the issues proposed by other people that you advice us to use the training code of gca for hop matting.

    we all are looking for the official code for this hop project.

    Is there a plan to release that part of code in the next month or two?

    And we hope the paper can be accepted in a desirable conference/magzine.

    opened by semaphore-egg 0
Owner
Li Yaoyi
Li Yaoyi
Official implementation of the paper "Lightweight Deep CNN for Natural Image Matting via Similarity Preserving Knowledge Distillation"

Lightweight-Deep-CNN-for-Natural-Image-Matting-via-Similarity-Preserving-Knowledge-Distillation Introduction Accepted at IEEE Signal Processing Letter

DongGeun-Yoon 19 Jun 7, 2022
Official repository of "BasicVSR++: Improving Video Super-Resolution with Enhanced Propagation and Alignment"

BasicVSR_PlusPlus (CVPR 2022) [Paper] [Project Page] [Code] This is the official repository for BasicVSR++. Please feel free to raise issue related to

Kelvin C.K. Chan 227 Jan 1, 2023
LBK 20 Dec 2, 2022
Official pytorch implementation of paper "Image-to-image Translation via Hierarchical Style Disentanglement".

HiSD: Image-to-image Translation via Hierarchical Style Disentanglement Official pytorch implementation of paper "Image-to-image Translation

null 364 Dec 14, 2022
Official PyTorch code for Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling (HCFlow, ICCV2021)

Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling (HCFlow, ICCV2021) This repository is the official P

Jingyun Liang 159 Dec 30, 2022
Official PyTorch code for Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling (HCFlow, ICCV2021)

Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling (HCFlow, ICCV2021) This repository is the official P

Jingyun Liang 159 Dec 30, 2022
[IJCAI'21] Deep Automatic Natural Image Matting

Deep Automatic Natural Image Matting [IJCAI-21] This is the official repository of the paper Deep Automatic Natural Image Matting. Introduction | Netw

Jizhizi_Li 316 Jan 6, 2023
This repository contains the official implementation code of the paper Improving Multimodal Fusion with Hierarchical Mutual Information Maximization for Multimodal Sentiment Analysis, accepted at EMNLP 2021.

MultiModal-InfoMax This repository contains the official implementation code of the paper Improving Multimodal Fusion with Hierarchical Mutual Informa

Deep Cognition and Language Research (DeCLaRe) Lab 89 Dec 26, 2022
This is the official implementation of the paper "Object Propagation via Inter-Frame Attentions for Temporally Stable Video Instance Segmentation".

[CVPRW 2021] - Object Propagation via Inter-Frame Attentions for Temporally Stable Video Instance Segmentation

Anirudh S Chakravarthy 6 May 3, 2022
PyMatting: A Python Library for Alpha Matting

Given an input image and a hand-drawn trimap (top row), alpha matting estimates the alpha channel of a foreground object which can then be composed onto a different background (bottom row).

PyMatting 1.4k Dec 30, 2022