Skip to content

zrichz/DIS

 
 

Repository files navigation

ONLY WORKS ON LINUX

best resolution 1024x1024

** (2022-Jul.-30)** Thank AK391 for the Web Demo: Hugging Face Spaces.

how to run: (1) Clone this repo

git clone https://github.com/xuebinqin/DIS.git

(2) Configuring the environment: go to the DIS/IS-Net folder and run

conda env create -f pytorch18.yml

Or check the requirements.txt to configure dependencies. REMEMBER - LINUX ONLY

(3) activate the conda environment by

conda activate pytorch18

(4) Inference Download optimized model weights isnet-general-use.pth (for general use) from (Google Drive) or (Baidu Pan 提取码:6jh2), and store them in saved_models/IS-Net

(a) Open \ISNet\inference.py and configure your input and output directories (b) Run

python inference.py

About

DIS V1 background remover

Resources

License

Stars

Watchers

Forks

Languages

  • Jupyter Notebook 97.0%
  • Python 3.0%