Skip to content

Commit

Permalink
Add windows installation help
Browse files Browse the repository at this point in the history
  • Loading branch information
RysonFeng committed Apr 20, 2023
1 parent c103288 commit 337818c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ __pycache__/
**/.DS_Store

# tmp
~*
~*

# pretrained_models
pretrained_models/
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ python -m pip install torch torchvision torchaudio
python -m pip install -e segment_anything
python -m pip install -r lama/requirements.txt
```
On Windows system, we recommend to first install [miniconda](https://docs.conda.io/en/latest/miniconda.html) and
open `Anaconda Powershell Prompt (miniconda3)` as administrator.
Then pip install [./lama_requirements_windows.txt](lama_requirements_windows.txt) instead of
[./lama/requirements.txt](lama%2Frequirements.txt).

### Usage
Download the model checkpoints provided in [segment_anything](./segment_anything/README.md)
Expand Down
19 changes: 19 additions & 0 deletions lama_requirements_windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pyyaml
tqdm
numpy
easydict==1.9.0
scikit-image
scikit-learn
opencv-python
tensorflow
joblib
matplotlib
pandas
albumentations==0.5.2
hydra-core==1.1.0
pytorch-lightning==1.2.9
tabulate
kornia==0.5.0
webdataset
packaging
wldhx.yadisk-direct

0 comments on commit 337818c

Please sign in to comment.