geekyutao / Inpaint-Anything

Inpaint anything using Segment Anything and inpainting models.
Apache License 2.0
6.4k stars 525 forks source link

Detectron v2 is not installed #115

Open stoneidolon opened 11 months ago

stoneidolon commented 11 months ago

when I run it, occur problem:

Inpaint-Anything % python remove_anything.py \ --input_img /Users/tuyong/Desktop/cat2.jpg \ --coords_type key_in \ --point_coords 490 680 \ --point_labels 1 \ --dilate_kernel_size 15 \ --output_dir ./results \ --sam_model_type "vit_h" \ --sam_ckpt ./pretrained_models/sam_vit_h_4b8939.pth \ --lama_config ./lama/configs/prediction/default.yaml \ --lama_ckpt ./pretrained_models/big-lama Detectron v2 is not installed

rsilvav commented 11 months ago

I fixed this installing detectron2 by:

python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'

block003 commented 4 months ago

but,i do not find where use detectron2,i just want to run remove_anything.py