feat: added some stuff

This commit is contained in:
2025-04-24 13:48:06 +02:00
parent 8753e1e05f
commit 061cc20046
4 changed files with 58 additions and 13 deletions

View File

@@ -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
```