stable-diffusion

Thumbnail of post image 127
VAEfrom diffusers.models import AutoencoderKL#vae = "stabilityai/sd-vae-ft-ema"#@param {type:"string" ...

stable-diffusion

Thumbnail of post image 066

通常では77トークンを超えるプロンプトを使用すると切り捨てされてしまいます。それを回避する方法を説明します

The following part of your input was truncated because CL ...

stable-diffusion

Thumbnail of post image 030

GPU固定でプログラムをされているとCPUでは動きません

/usr/local/lib/python3.10/dist-packages/torch/cuda/init.py in _lazy_init()
245 ...

stable-diffusion

Thumbnail of post image 049

png画像にはメタ情報があり呪文がそこに書かれています。それを見ることができるWindowsユーティリティーを紹介します。

TweakPNGtEXt パラメーターのところを見ます

TweakPNG は、PNG 画像ファイルを ...

stable-diffusion

Thumbnail of post image 180

Stable DiffusionのControlNetで使えるOpenPose画像をあらかじめ用意することを考えます

controlnet_aux

annotator

Pythonを使用します。モデルは自動的にダ ...

お得&便利

Thumbnail of post image 165
Internet Archive

Webページを月に何回かスナップショットで保存してくれているサイトです

フォームにurlを入力してエンターを押します。
カレンダーが出てくるので日付を選んで表示させます

...

stable-diffusion

Thumbnail of post image 130

方法

|pipeを設定した後

pipe.safety_checker = lambda images, **kwargs: (images, * len(images))

以前の方法pipe.safety_check ...

stable-diffusion

Thumbnail of post image 043

準備やり方

パラメーター

model_id = “stabilityai/stable-diffusion-2-1”
controlnet_processor_id = “Dion ...

stable-diffusion

Thumbnail of post image 182
前準備img2img StableDiffusionControlNetImg2ImgPipelinefrom diffusers import StableDiffusionControlNetPipeline, ControlNetMo ...