当前位置:网站首页>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
边栏推荐
- Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams
- 1.14 - assembly line
- Daily question 1189 Maximum number of "balloons"
- Leetcode divide and conquer / dichotomy
- What's wrong with this paragraph that doesn't work? (unresolved)
- MySQL advanced part 1: stored procedures and functions
- 传统数据库逐渐“难适应”,云原生数据库脱颖而出
- MySQL advanced part 2: MySQL architecture
- Appium automation test foundation - Summary of appium test environment construction
- 求组合数 AcWing 889. 满足条件的01序列
猜你喜欢
博弈论 AcWing 894. 拆分-Nim游戏
MySQL advanced part 1: stored procedures and functions
Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software
5.Oracle-表空间
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
MIT-6874-Deep Learning in the Life Sciences Week 7
1.13 - RISC/CISC
Redis publish subscribe command line implementation
Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations
高斯消元 AcWing 884. 高斯消元解异或線性方程組
随机推荐
Data visualization chart summary (II)
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
求组合数 AcWing 887. 求组合数 III
Operator priority, one catch, no doubt
区间问题 AcWing 906. 区间分组
1041 Be Unique
NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar
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
高斯消元 AcWing 884. 高斯消元解异或线性方程组
Leetcode-556: the next larger element III
博弈论 AcWing 894. 拆分-Nim游戏
In depth analysis of for (VaR I = 0; I < 5; i++) {settimeout (() => console.log (I), 1000)}
SPI 详解
传统数据库逐渐“难适应”,云原生数据库脱颖而出
[learning] database: several cases of index failure
Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135
MySQL怎么运行的系列(八)14张图说明白MySQL事务原子性和undo日志原理
2048项目实现
WordPress switches the page, and the domain name changes back to the IP address
Leetcode-1200: minimum absolute difference