generated from Hazel/python-project
feat: added some stuff
This commit is contained in:
@@ -27,7 +27,16 @@ secure-pixelation
|
||||
This is the generative ai model to impaint the blacked out areas.
|
||||
|
||||
```
|
||||
# get the pretrained models
|
||||
mkdir -p ./big-lama
|
||||
wget https://huggingface.co/smartywu/big-lama/resolve/main/big-lama.zip
|
||||
unzip big-lama.zip -d ./big-lama
|
||||
rm big-lama.zip
|
||||
|
||||
# get the code to run the models
|
||||
cd big-lama
|
||||
git clone https://github.com/advimman/lama.git
|
||||
pip install torch==2.2.0 torchvision==0.17.0
|
||||
cd lama
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user