GithubHelp home page GithubHelp logo

ribin-baby / u2net_pytorch Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 81.93 MB

pytorch implimentation of u2net architecture

License: The Unlicense

Python 3.64% Jupyter Notebook 96.36%
background-removal computer-vision deeplearning image-matting python pytorch u2net

u2net_pytorch's Introduction

U2 NET


Fig.1 - U2Net Architecture

  • U2-Net is a two-level nested U-structure architecture. It uses a novel ReSidual U-block (RSU) module to extract multi-scale features without degrading resolution, allowing the network to go deeper and attain high resolution without significantly increasing memory and computation cost.
  • used for for salient object detection, image segmentation, Image Matting, background removal and other image2image modeling tasks.

Fig.2 - UNet or RSU Block

  • U-Net is a U-shaped encoder-decoder architecture with residual connections between each layers. It captures contextual information and intricate detail.

  • These U-Net blocks in U2Net architecture are called ReSidual U-block or RSU.

  • Example: we have trained an Image Matting model on P3M-10k dataset, and the results are given below.


Fig.3 - Image Matting with U2-Net example

training progress

Fig.4 - Image Matting with U2-Net training progress after each steps

u2net_pytorch's People

Contributors

ribin-baby avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.