Open stoneidolon opened 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
I fixed this installing detectron2 by:
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
but,i do not find where use detectron2,i just want to run remove_anything.py
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