当前位置:网站首页>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
边栏推荐
- [rust notes] 15 string and text (Part 1)
- Winter messenger 2
- How to understand the definition of sequence limit?
- How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
- Redis publish subscribe command line implementation
- Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth
- 背包问题 AcWing 9. 分组背包问题
- 什么是套接字?Socket基本介绍
- JS quickly converts JSON data into URL parameters
- 博弈论 AcWing 894. 拆分-Nim游戏
猜你喜欢
实时时钟 (RTC)
Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software
Day 2 document
MIT-6874-Deep Learning in the Life Sciences Week 7
There are three kinds of SQL connections: internal connection, external connection and cross connection
博弈论 AcWing 893. 集合-Nim游戏
liunx启动redis
SPI 详解
Quickly use Amazon memorydb and build your own redis memory database
Appium automation test foundation - Summary of appium test environment construction
随机推荐
Quickly use Amazon memorydb and build your own redis memory database
11-gorm-v2-03-basic query
Redis publish subscribe command line implementation
Winter vacation water test 1 Summary
Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations
Error ora-28547 or ora-03135 when Navicat connects to Oracle Database
927. Trisection simulation
SPI details
高斯消元 AcWing 884. 高斯消元解异或線性方程組
Leetcode-3: Longest substring without repeated characters
MySQL advanced part 1: index
SPI 详解
Alibaba established the enterprise digital intelligence service company "Lingyang" to focus on enterprise digital growth
Multi screen computer screenshots will cut off multiple screens, not only the current screen
MatrixDB v4.5.0 重磅发布,全新推出 MARS2 存储引擎!
There are three kinds of SQL connections: internal connection, external connection and cross connection
开源存储这么香,为何我们还要坚持自研?
TypeScript 基础讲解
11-gorm-v2-02-create data
MySQL怎么运行的系列(八)14张图说明白MySQL事务原子性和undo日志原理