当前位置:网站首页>Modnet matting model reproduction
Modnet matting model reproduction
2022-07-05 06:22:00 【eton_ liu】
MODNet Reproduction of matting model
Preface
MODNet By the City University of Hong Kong and Shangtang technology in 2020 year 11 First proposed in , For real-time matting tasks . The model is excellent , Matting can be achieved without background input , And the real-time performance is very high . But the official code does not give a complete training example , I am here github A complete reproduction example is given on , stay B standing Give a rough explanation of the principle .
Repeat step
# 1. Download the code and enter the working directory
git clone https://github.com/actboy/MODNet
cd MODNet
# 2. Installation dependency
pip install -r src/requirements.txt
# 3. Download and extract the dataset
wget -c https://paddleseg.bj.bcebos.com/matting/datasets/PPM-100.zip -O src/datasets/PPM-100.zip
unzip src/datasets/PPM-100.zip -d src/datasets
# 4. Training models
python src/trainer.py
# 5. Model to evaluate
python src/eval.py
# 6. Model reasoning
python src/infer.py
边栏推荐
- Leetcode divide and conquer / dichotomy
- Leetcode-556: the next larger element III
- 1039 Course List for Student
- MySQL advanced part 1: triggers
- Usage scenarios of golang context
- MySQL advanced part 2: optimizing SQL steps
- 博弈论 AcWing 893. 集合-Nim游戏
- [learning] database: several cases of index failure
- RGB LED infinite mirror controlled by Arduino
- Error ora-28547 or ora-03135 when Navicat connects to Oracle Database
猜你喜欢

MySQL advanced part 2: storage engine

Erreur de connexion Navicat à la base de données Oracle Ora - 28547 ou Ora - 03135

Matrixdb V4.5.0 was launched with a new mars2 storage engine!

博弈论 AcWing 892. 台阶-Nim游戏

Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a

实时时钟 (RTC)

高斯消元 AcWing 884. 高斯消元解异或线性方程组

How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling

Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth

Leetcode-6111: spiral matrix IV
随机推荐
One question per day 1020 Number of enclaves
MySQL advanced part 2: optimizing SQL steps
Multi screen computer screenshots will cut off multiple screens, not only the current screen
Leetcode dynamic programming
5.Oracle-表空间
A reason that is easy to be ignored when the printer is offline
【LeetCode】Day94-重塑矩阵
LeetCode-54
什么是套接字?Socket基本介绍
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Appium automation test foundation - Summary of appium test environment construction
SQLMAP使用教程(一)
Leetcode array operation
博弈论 AcWing 891. Nim游戏
Sqlmap tutorial (1)
MySQL advanced part 2: the use of indexes
Single chip computer engineering experience - layered idea
C Primer Plus Chapter 15 (bit operation)
MySQL advanced part 2: MySQL architecture
[2021]IBRNet: Learning Multi-View Image-Based Rendering Qianqian