Spaces:
Runtime error
Runtime error
Download script/remove_anything.sh from TDN-M/Inpaint-Anything: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/TDN-M/Inpaint-Anything/resolve/main/script/remove_anything.sh
- Command line
-
hf download hf://spaces/TDN-M/Inpaint-Anything/script/remove_anything.sh
-
curl -L -o remove_anything.sh https://huggingface.co/spaces/TDN-M/Inpaint-Anything/resolve/main/script/remove_anything.sh
415 Bytes
| python remove_anything.py \ | |
| --input_img ./example/remove-anything/dog.jpg \ | |
| --coords_type key_in \ | |
| --point_coords 200 450 \ | |
| --point_labels 1 \ | |
| --dilate_kernel_size 15 \ | |
| --output_dir ./results \ | |
| --sam_model_type "vit_t" \ | |
| --sam_ckpt ./weights/mobile_sam.pt \ | |
| --lama_config ./lama/configs/prediction/default.yaml \ | |
| --lama_ckpt ./pretrained_models/big-lama | |