xuebinqin / DIS

This is the repo for our new project Highly Accurate Dichotomous Image Segmentation
Apache License 2.0
2.22k stars 258 forks source link

Add gitignore and use pip-style requirements #76

Closed 2trvl closed 10 months ago

2trvl commented 1 year ago

Use pip-style requirements, because it's common

Now users can run DIS with standard python tools:

python -m venv venv
venv\Scripts\activate
pip install -r IS-Net\requirements.txt
python IS-Net\Inference.py
deactivate

Also to use different python version:

pip install virtualenv
python -m virtualenv -p "C:\Program Files\Python38\python.exe" venv