달력

52024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Stable Diffusion 설치

기타 2023. 6. 5. 11:05

Windows 10 쉬운설치 설명
https://www.youtube.com/watch?v=ba9g39dMCEs&t=427s 

설치 파일 경로 ( https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases )

* v1.0.0-pre 다운로드
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/download/v1.0.0-pre/sd.webui.zip

> C:\sdwebui\ 다운로드 파일 압축 해제

CheckPoint 파일 다운로드 (realdosmix_.safetensors)
https://civitai.com/models/6925/realdosmix

run.bat 파일 실행 (오래걸림)

Can't run without a checkpoint. Find and place a .ckpt file into any of those locations. The program will exit.
 > CheckPoint 파일 넣기 (C:\sdwebui\webui\models\Stable-diffusion\realdosmix_.safetensors)

 

RuntimeError: Cannot add middleware after an application has started
> Python 업데이트
   (C:\sdwebui\system\python>python.exe -m pip install --upgrade fastapi==0.90.1)


설치 성공 메시지

Model loaded in 3.0s (0.4s create model, 1.4s load weights).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.



Web Port 변경
--port 8081

사용자 인증
--gradio-auth "admin:1234"

확장 사용
--enable-insecure-extension-access

Stable Diffusion 자동 업데이트
git pull

위 사항이 적용된 webui-user.bat 파일

@echo off

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --xformers --deepdanbooru --autolaunch --listen --port 8081 --gradio-auth "admin:1234" --enable-insecure-extension-access

git pull

call webui.bat

 

 

Extension

 - Controlnet - 설치 참고 LINK / Model URL: https://huggingface.co/lllyasviel/ControlNet-v1-1/tree/main

 

 

 

'기타' 카테고리의 다른 글

Longkee QR Code  (0) 2010.06.30
Posted by longkee
|

최근 WIndows 11 설치 후 Android studio 실행하는데 아무런 문제가 없었다.

그러다 갑자기 실행이 안되는 문제가 있었는데 무슨 에러 메시지가 떠야 확인을 하지..
그냥 android studio가 죽어버리니 답답할 노릇.. -_-;;;;

일단 Log 파일을 확인해 봐야 겠다
C:\Users\[사용자계정]\AppData\Local\Google\AndroidStudio2020.3\log\idea.log 파일을 열어보니 
"Caused by: java.util.concurrent.CompletionException: java.lang.UnsatisfiedLinkError: C:\Program Files\Android\Android Studio\jre\bin\awt.dll: Can't find dependent libraries" 이렇게 나온다..

Google 확인해 보니 "Install Microsoft Visual C++ 2013 Redistributable (x64) Packages run-time components." 문제라는데..최근에 예전 프로그램을 설치하면서 "VC_redist.x64.exe" 설치한 생각이 났다.

아래 경로를 통해 설치를 해 봤다..
Link : https://community.progress.com/s/article/awt-dll-Can-t-find-dependent-libraries-when-trying-to-access-a-PASOE-instance-Application-Metrics-page-from-the-OpenEdge-Management-console

 

"awt.dll: Can`t find dependent libraries" when trying to access a PASOE instance Application Metrics page from the OpenEdge Mana

Setting PASOE 12.1 and checking its performance using OpenEdge Management via the Application Metrics page.There's no error when using the Oracle Java JRE instead, despite the awt.dll is also present in the %JRE_HOME%/bin folder of that Java distribution.O

community.progress.com

어랏.. 그래도 안되네..

그럼 최신 버젼으로 설치를 해 보자..

https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 

 

Latest supported Visual C++ Redistributable downloads

This article lists the download links for the latest versions of Visual C++ Redistributable packages.

docs.microsoft.com

 

OK!! 이제 실행이 되는구나.

 

Posted by longkee
|

최근들어 회사 내 PPT사용양이 많아 짐에 따라 업무 개선을 위해
목업 프로그램이 없나 찾아보다 좋은걸 발견하게 되어 포스팅 합니다.

목업 관련 프로그램은 여러가지가 있습니다.
 - Balsamiq Wireframes
 - ADOBE XD CC
 - PowerMockup

이 중 Powerpoint 연동을 위해 powermockup을 사용해 보도록 하겠습니다.

목업이란 "실제품을 만들어 보기 전, 디자인의 검토를 위해 실물과 비슷하게 시제품을 제작하는 작업의 프로세스, 결과물을 통칭한다."라고 위키에 나와 있습니다.

실제 웹 사이트를 만들기 전에 Clinet 확인을 위한 실제와 비슷하게 만들어보는 화면으로 보시면 될 것 같습니다.

https://www.powermockup.com/

 

PowerPoint Wireframe and Prototyping Tool | PowerMockup

Collaboration PowerPoint includes collaboration and sharing features that facilitate working in a team. You can share documents with others via OneDrive or SharePoint, leave comments on slides, and merge different versions of a document into a single file.

www.powermockup.com

사이트를 통해 프로그램을 설치하면 Powerpoint에 POWERMOCKUP라는 메뉴가 생성이 됩니다.

처음 실행하면 Welcome 페이지가 표시 됩니다.

 

우측에 PowerMockup Shapes 메뉴에서 원하는 모양을 PowerPoint에 끌어다 놓으면 됩니다. 이게 끝입니다. ^^

 

개발 시 자주 사용하는 화면을 모양을 많이 넣어놨기 때문에 원하는 곳에 끌어 놓기만 하면 됩니다.

무료로 사용으로 흐리게 표시되는 부분을 불러올 때는 Full Version Required 메시기가 표시됩니다.

https://www.powermockup.com/order 에서 구입 가능합니다.

 

Pricing | PowerMockup

How can I upgrade to version 4? If you have purchased a PowerMockup 3 license after October 1, 2014, the upgrade is free of charge—your license code remains valid and you simply have to install the new version. Otherwise, you may buy an upgrade for 50% o

www.powermockup.com

 

Posted by longkee
|