반응형
Stable Diffusion 설치
WEB UI 한방팩 0.66.2v
WEB UI만 다운로드하여서 설치를 시도하면 오래 걸립니다.
설치 파일도 준비 후 진행 하시면 빠르게 설치하실 수 있습니다.
설치 최소 사양
- GPU: GTX1050TI 4GB vram
- 디스크 공간: 30Gb 이상 여유
설치 필수 파일 준비
사용자 선택 파일
선택 파일은 원하시는 파일을 미리 다운로드하여
같은 위치에 넣어두고 설치하게 되면 설치시간이 줄어듭니다.
- animefull-final-pruned.tar
일반적인 상황. 일반짤 ~ R-18까지 광범위하게 사용가능 - animesfw-final-pruned.tar
일반짤 전용 - final-and-sfw.tar
위 두 가지 다 설치 후 선택하여 사용가능 - animefull-latest.tar
일반적인 상황. 일반짤 ~ R-18까지 광범위하게 사용가능. - animesfw-latest.tar
일반짤 전용. 중국발 부정 프롬프트 도배 시 사용 - Anything-V3.0.tar
animefull-final-pruned 모델과 비슷하지만
이상하게 나올 확률이 조금 더 낮은 것으로 알려져 있음 - Anything-V3.0-pruned-fp16.tar
Anything-V3.0 경량화 버전
(경량화에 따라 Anything-V3.0과 조금 다른 이미지가 나올 수 있음)
WEBUI 설치 과정
- 파이썬 설치 설치 시 3.10 PATH 체크박스 무조건 체크하고 진행할 것
- GIT 설치. 특별히 변경할 옵션 없고 Next 눌러서 그냥 설치하면 됨
- 미러 사이트에서 WEBUI zip 받기
- 원하는 위치에 압축 풀고 설치.
- ps1 (0.34 버전 이후로 Install.ps1) 우클릭 후 Powershell에서 실행 클릭 - 기다리기 (약 40분 내외 소요)
- 대부분 파일 다운로드 시간 설치는 약 5분 이내로 완료
- 주의: 다운로드가 오래 걸릴 수 있음.
- 해외사이트를 이용하기 때문에 다운로드 속도가 느립니다. - http://127.0.0.1:7860/ 문구가 나오면
- http://127.0.0.1:7860/ 으로 접속 (실행 시 자동으로 열림) - 설치 이후에는 .tar 파일은 삭제해도 무방합니다
WEBUI 업데이트
- 업데이트.bat (0.34 버전 이후로는 Update.bat) 클릭.
- 통합팩 스크립트 업데이트 방법. (아래 이미지 참고)
- 확장기능 탭 클릭.
- 업데이트 확인 클릭.
- 업데이트가 있을 경우 적용 후 UI 재시작 클릭.
더보기
위와 같이 에러가 뜨면서 업데이트가 되지 않을 경우.
webui-user.bat을 우클릭 > 편집으로 열어서
set COMMANDLINE_ARGS=--launch --deepdanbooru --autolaunch
--launch 옵션을 빼고 다시 실행해 주세요.
set COMMANDLINE_ARGS=--deepdanbooru --autolaunch
이렇게 수정하고 저장한 다음 다시 실행하면 정상적으로 업데이트될 것입니다.
WEBUI 삭제 방법
- 파이썬 3.10 삭제
- GIT 삭제
- 설치했던 경로에 있는 폴더 및 파일 삭제
- stable-diffusion-webui 폴더
- 자신이 설치한 학습모델 파일 (animefull-final-pruned.tar 등)
- Settings.tar - Addon.tar
- 설치.ps1 (0.34 이후로 install.ps1)
- 업데이트.bat (0.34 이후로 update.bat)
- Update-Scripts.bat
- remove_old_scripts.bat
- Reinstall-Scripts.bat
WEBUI 업데이트 내역
- 0.66.2
학습모델 미설치 옵션 추가요청에 의해 옵션추가. - 0.65.1
익스텐션 업데이트를 안 하게 되어서 원본 레포지토리로 수정함. - 0.64.4
한글패치 스크립트 깃허브 주소 변경 패치 적용. - 0.64.3
Anything 3.0 학습모델 추가. - 0.63.4
한글패치 Extensions로 적용.
WEBUI에서 스크립트 업데이트 가능하게 수정.
기존 스크립트 설치 방법 변경을 위해 Reinstall-Scripts.bat 1회 이상 실행 필요. - 0.58.1
애드온 및 세팅값 업데이트. - 0.57.1
통합본 돚거 무력화. - 0.56.1
버그 수정. - 0.55.4
실행기 구문 --autolaunch 옵션 추가.
로그 내용 수정. - 0.55.2 ~
스크립트 자동업데이트 파일 추가됨.
WEBUI.zip 받아서 Update-Scripts.bat 돌리면 됨.
(해당 버전 이후 패치파일 적용이 불필요함)
WEBUI 패치파일
통합팩 버전 업데이트파일과 학습모델(.ckpt)파일을 제외한 기타 업데이트 파일이 들어있습니다. 압축해제 후 stable-diffusion-webui 폴더 안에 붙여 넣기 해주시면 됩니다.
- Patch-0.53.1(or 0.45)-to-0.53.2.zip
태그 자동완성 1.1.3 => 1.2.0으로 변경.0.45 또는
그 이전버전에서 패치하는 경우 javascript 폴더에서
_먮룞_쒓렇1.1.2.js 파일은 수동삭제 필요. - 0.45-to-0.53.1
파일 구조만 변경되어 특별히 패치가 필요하지 않음. - Patch-0.42-to-0.45.zip
태그 자동완성 1.1.2 => 1.1.3으로 변경. tar압축해제 시
파일명이 깨지는 오류 및 덮어쓰기가 필요해 파일명은 1.1.2로 되어있음. - Patch-0.34-to-0.42.zip
태그 자동완성 1.1.2 적용
Wildcard 스크립트 적용, 업스케일러 적용.
*현재 태그 자동완성 1.1.2 버전에 #을 붙여야만
태그가 나오는 버그가 있습니다. 참고 바랍니다.
0.34 이전: 바로 0.34 적용해도 됩니다.
참고할 만한 글
반응형
'IT인터넷' 카테고리의 다른 글
스테이블 디퓨전 SD-1.5로 학습된 것을 SDXL에 적용하는 기술 (0) | 2023.12.31 |
---|---|
스테이블 디퓨전 BMAB v23.11.13.0 한글화 (0) | 2023.12.30 |
스테이블 디퓨전 설치 오류 해결 (0) | 2023.12.29 |
PC 카카오톡 광고 제거 하는 방법 (0) | 2023.08.18 |
한글 입력 시 자음 모음 분리 되는 오류현상 해결방법 (0) | 2023.08.18 |
어도비 Adobe 정품 경고 알림 해제 방법, 방화벽 아웃바운드 추가 (0) | 2023.08.18 |