stable-diffusion text-to-image

th-diffusion

このモデルは、SD2-1(768)からアニメスタイルの画像を学習させたものです。SDからアニメスタイルを自力で作ってみたかっただけです。 学習方法はWD1-4とほとんど同じであり、データセットも学習ステップ数も負けてるので劣化版でしかないです。

diffusers用のとwebui用のsafetensorsを置いてます。

このモデルの学習は三段階に分かれます。

  1. 13万枚の画像を10エポック学習:A100 80GBで20時間くらい
  2. 39万枚の画像をText endoderを含めて1エポック・含めずに追加で3エポック学習:RTX3090で80時間くらい
  3. 61万枚の画像を3エポック学習:RTX3090で100時間くらい

学習設定:

2.3.はWD1-4のタグ付け規則に従っています。 そのため機能するプロンプトやネガティブプロンプトはWD1-4と変わりません。

右にある変な奴で試せますが、ネガティブプロンプトがないのであんまりいい画像はでないよ。

生成例

てきとう、ネガティブプロンプトはworst quality, low quality, medium quality, deleted, lowres, comic, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry

CFG_scaleは10、高めにしたほうがいいかも。

masterpiece,best quality,1girl,solo,sitting,blush,red eyes,blonde hair,twintails,hair ribbon,school uniform,blue sailor collar,blue skirt,black thighhighs image masterpiece,best quality,absurdres,safe,1girl,solo,one eye closed, brown hair, side ponytail, maid, maid headdress, white thighhighs image masterpiece,best quality,hakurei reimu,touhou,solo,blush,brown hair,red eyes,frills,navel , yellow ascot, detached sleeves,hair bow,hair tubes image