当前位置:网站首页>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
边栏推荐
- 求组合数 AcWing 888. 求组合数 IV
- redis发布订阅命令行实现
- MySQL advanced part 1: index
- LeetCode 1200. Minimum absolute difference
- A reason that is easy to be ignored when the printer is offline
- JS quickly converts JSON data into URL parameters
- Traversal of leetcode tree
- NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar
- 1040 Longest Symmetric String
- Winter messenger 2
猜你喜欢
Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations
LeetCode-54
MIT-6874-Deep Learning in the Life Sciences Week 7
Overview of variable resistors - structure, operation and different applications
Chapter 6 relational database theory
MySQL advanced part 1: index
Erreur de connexion Navicat à la base de données Oracle Ora - 28547 ou Ora - 03135
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
P2575 master fight
MySQL advanced part 2: SQL optimization
随机推荐
高斯消元 AcWing 884. 高斯消元解异或線性方程組
Leetcode-6109: number of people who know secrets
博弈论 AcWing 892. 台阶-Nim游戏
2048项目实现
LeetCode 1200. Minimum absolute difference
栈 AcWing 3302. 表达式求值
区间问题 AcWing 906. 区间分组
Leetcode-9: palindromes
Shutter web hardware keyboard monitoring
Leetcode-556: the next larger element III
P2575 master fight
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
Golang uses context gracefully
Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022
20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore
Data visualization chart summary (I)
Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135
Leetcode-6111: spiral matrix IV
MySQL advanced part 2: MySQL architecture