본문 바로가기
AI/StableDiffusionWebUI

Segment Anything Inpaint

by wenect 2023. 5. 13.

 

https://www.youtube.com/watch?v=ORWDULfmk40 

Segment Anything 을 이용해서 inpaint할때 쉽게 선택하는 방법을 알려드릴게요!

* colab 사이트 주소
https://github.com/ninjaneural/webui

* 프롬프트 정보
https://github.com/ninjaneural/webui/blob/master/memo/segmentany.md


[로컬PC 사용자]

* Segment Anything  익스텐션
*원본*
https://github.com/continue-revolution/sd-webui-segment-anything
*영상에 설명한 기능추가 버전*
https://github.com/ninjaneural/sd-webui-segment-anything

* sam 파일을 넣어줘야해요

파일을 다운받아서

webui models 경로에 sam폴더 생성해서 넣어주세요~
(stable-diffusion-webui/models/sam)

* vram 부족시 더 작은 sam 모델
*1GB*

vit_l: ViT-L SAM model.

*375MB*

vit_b: ViT-B SAM model.

 

 

 

 

 

'AI > StableDiffusionWebUI' 카테고리의 다른 글

SDv1.5 vs SDv2.1 vs SDXL  (0) 2023.07.31
Stable Diffusion - QR Code Generation  (3) 2023.06.15
Floral  (0) 2023.04.26
Pink Lady  (0) 2023.04.23
Office outfits  (0) 2023.04.23

댓글