「AnimateDiff」の版間の差分

編集の要約なし
 
(同じ利用者による、間の3版が非表示)
1行目: 1行目:
'''AnimationDiff'''とは、[[Stable Diffusion]]の拡張機能のひとつで、短い[[アニメーションGIF]]を生成できるというものです。
'''AnimateDiff'''とは、[[Stable Diffusion]]の拡張機能のひとつで、短い[[アニメーションGIF]]を生成できるというものです。


* https://github.com/continue-revolution/sd-webui-animatediff
* https://github.com/continue-revolution/sd-webui-animatediff


AnimationDiffで生成できるフレーム数は最大24フレームとなっています。なお学習は16フレームで実施されているため16フレームが推奨されています。
AnimateDiffで生成できるフレーム数は最大24フレームとなっています。なお学習は16フレームで実施されているため16フレームが推奨されています。


== インストール ==
== インストール ==
AnimationDiff本体をダウンロードして、[[Stable Diffusion]]のextensionsフォルダにぶち込む。
AnimateDiff本体をダウンロードして、[[Stable Diffusion]]のextensionsフォルダにぶち込む。
* https://github.com/continue-revolution/sd-webui-animatediff
* https://github.com/continue-revolution/sd-webui-animatediff
<source lang=bash>
<source lang=bash>
13行目: 13行目:
</source>
</source>


AnimationDiffのモーションファイルをダウンロードして、AnimationDiffのmodelフォルダにモーションファイルにぶち込む。
AnimateDiffのモーションファイルをダウンロードして、AnimateDiffのmodelフォルダにモーションファイルにぶち込む。
* https://drive.google.com/drive/folders/1EqLC65eR1-W-sGD0Im7fkED6c8GkiNFI
* https://drive.google.com/drive/folders/1EqLC65eR1-W-sGD0Im7fkED6c8GkiNFI


<source lang=bash>
<source lang=bash>
  $ cd extensions/sd-webui-animatediff/model/
  $ cd sd-webui-animatediff/model/
  $ curl -L "https://drive.usercontent.google.com/download?id=1RqkQuGPaCO5sGZ6V6KZ-jUWmsRu48Kdq&export=download&confirm=t" -o mm_sd_v14.ckpt
  $ curl -L "https://drive.usercontent.google.com/download?id=1RqkQuGPaCO5sGZ6V6KZ-jUWmsRu48Kdq&export=download&confirm=t" -o mm_sd_v14.ckpt
  $ curl -L "https://drive.usercontent.google.com/download?id=1ql0g_Ys4UCz2RnokYlBjyOYPbttbIpbu&export=download&confirm=t" -o mm_sd_v15.ckpt
  $ curl -L "https://drive.usercontent.google.com/download?id=1ql0g_Ys4UCz2RnokYlBjyOYPbttbIpbu&export=download&confirm=t" -o mm_sd_v15.ckpt
</source>
</source>


モーションファイルのファイル名はAnimationDiffのソースコード内で決め打ちとなっているので変更しないこと。
モーションファイルのファイル名はAnimateDiffの[[ソースコード]]内で決め打ちとなっているので変更しないこと。


== 重要 ==
== 重要 ==
; 全般
; 全般
* xformersは無効化する必要がある
* [[xformers]]は無効化する必要がある
; Mac
; Mac
* Macでは「--no-half」を付けて起動する。
* Macでは「--no-half」を付けて起動する。
32行目: 32行目:
  PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 ./webui.sh --listen --no-half
  PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 ./webui.sh --listen --no-half


[[category: 人工知能]]
<amazon>Stable Diffusion</amazon>
 
[[category: 動画生成AI]]
[[category: Stable Diffusion]]
[[category: Stable Diffusion]]