アニメLORAですが、アニメモデルとの相性は良くありません、"kantanmix"以外のモデルで出力する場合は2.5Dモデルで試してみて下さい。アニメモデルの場合は、重量を下げ、プロンプトで補正したりする事が必要です。
Although it is an anime LORA, it is not compatible with anime models. If you want to output with a model other than "kantanmix", please try using a 2.5D model. For animated models, it may be necessary to lower the weight and make corrections with prompts.
*********************************************
好きな衣装や、背景、ポーズを組み合わせて下さい。
Please combine your favorite costumes, backgrounds, and poses.
*********************************************
weight 0.7、ADetailerを使用しface_yolov8nで顔修正を行っています。
高解像度補助:R-ESRGAN 4x+ Anime6B,倍率2倍
Weight 0.7 ADetailer is used and face_yolov8n is used for face correction.
Hires.fix:R-ESRGAN 4x+ Anime6B,2x magnification
*********************************************
"Detail Slider - LoRA"
https://civarchive.com/models/153562?modelVersionId=171989
"Detail Tweaker LoRA (细节调整LoRA)"
https://civarchive.com/models/58390?modelVersionId=62833
"flatBG"
https://civarchive.com/models/81298/flatbg
"noline"
https://civarchive.com/models/81309/noline
"boldline"
https://civarchive.com/models/81313/boldline
"Zoom Slider - LoRA"
https://civarchive.com/models/114460?modelVersionId=123732
"ADetailer"
(インストールは自己責任でお願いします)(Please install at your own risk.)
顔の詳細を修正する追加機能
Additional features to correct facial details
https://github.com/Bing-su/adetailer
Embeddings
"Fast Negative Embedding (+ FastNegativeV2)"
https://civarchive.com/models/71961?modelVersionId=94057
"EasyNegative"
https://civarchive.com/models/7808/easynegative
"negative_hand Negative Embedding"
https://civarchive.com/models/56519/negativehand-negative-embedding
Description
キャラ固定テスト
FAQ
Comments (16)
bro this is so good, what unet and txt do u use ? like 5-e4 or whatever
@wiz_
I'm assuming you're using DreamboothLOLA with kohyaSS.
Train batch size, Epoch, adjusted to train each training image 120 to 600 times
Mixed precision, Save precision, set according to the GPU you are using
LR Scheduler, Optimizer, Adafactor
Network Rank 18, Network Alpha 32
Keep n tokens 1
Max Token Length 225
Use xformers
That's all there is to adjusting the settings.
It takes time to learn, but it automatically optimizes the learning value.
(I think high steps and low learning rate will give higher quality)
Adjust the teacher image and steps by looking at the finished LORA.
-------------------------------
kohyaSSを使用してDreamboothLOLAを使用しているのが前提です。
Train batch size,Epoch,は各教師画像を120~600回学習する様調整
Mixed precision、Save precision、は使用しているGPUに合わせて設定
LR Scheduler,Optimizer,Adafactor
Network Rank 18,Network Alpha 32
Keep n tokens 1
Max Token Length 225
Use xformers
設定を調整している部分はこれだけです。
学習に時間は掛かりますが自動で学習値を最適にしてくれます。
(高ステップで低学習率の方が高品質になると思っています)
出来上がったLORAを見て教師画像やステップを調整する。
@wiz_
The teacher images are divided into folders, and the number of learning times for each is divided into 600 for flagship, 300 for middle class, and 120 for low class.
Other trigger words may also be separated.
教師画像をフォルダ分けしています、各学習回数は、フラグシップを600、ミドルクラスを300、ロークラスを120に分けています。
他にトリガーワードを分けることもあります。
@wiz_
Use a threshold of 0.1 for the text encoder (WD14 moat tagger v2) and add detailed background tags. Duplicate tags are manually removed (if missing, add them manually).
Remove the tag you want to pin from the tags in the flagship folder (hair color, eye color, etc.).
テキストエンコーダー(WD14 moat tagger v2)の閾値は0.1を使用し詳細な背景タグを付けます、重複しているタグは、手動で取り除きます(不足しているなら手動で追加します)。
フラグシップフォルダーの、タグの中から固定したいタグを取り除きます(髪色や目の色等)。
@wiz_
I'm not sure if this will be helpful as you've already created some great LORAs, but this is all I'm doing right now.
We are conducting research on a daily basis, so there may be changes in the future.
I'm very happy that the number of researchers on the anime LORA is increasing.
あなたは既に素晴らしいLORAを幾つも制作しているので、参考になるかは判りませんが、今、私がしている事はこれぐらいです。
日々、研究しているので今後、変化が有るかもしれません。
アニメLORAの研究者が増える事はとても嬉しいです。
@jibunsagasinotabi oh damn thats a lot, i use a google colab for training loras, theres not many settings i can change https://colab.research.google.com/github/hollowstrawberry/kohya-colab/blob/main/Lora_Trainer.ipynb
@jibunsagasinotabi the problem i have is that my loras arent flexible much, theyre too similar to the training images, i have to use many styles and weights and only get good results on certain models
@wiz_
There are not many setting items...
Try it like this, leave the current settings as they are, change only the folder structure, add 2 flag images, a close-up of the face would be better (300 steps with a trigger set) 15 middle images (without a trigger) 150 steps)
Delete the tags you want to pin on the two images with triggers set.
Can you do this test?
設定項目が少ないですね・・・
こうやってみて下さい、今の設定のまま、フォルダー構造のみ変更してみて下さい、フラグ画像を2枚、顔のアップが良いでしょう(トリガーを設定し300ステップ)ミドル画像15枚(トリガー無で150ステップ)
トリガーを設定した2枚の画像は固定したいタグを消します。
このテストは出来ますか?
@wiz_
If you don't have a trigger, please put a meaningless string of characters at the beginning.
トリガー無の方は意味のない文字の羅列を先頭に置いて下さい。
example
100_Sutaro 1boy
50_qwertyuiop qwertyuiop
Like this
例
100_Sutaro 1boy
50_qwertyuiop qwertyuiop
この様な
@jibunsagasinotabi i always keep triggers
@wiz_
Please remove all triggers except for 2 and try learning with meaningless triggers.
This is a learning method for AI called the background learning method.
This method lets the AI recognize the character's face, and then brings the body of the character whose face the AI recognizes from a folder with no triggers.
The learning strength of Google Collaboration is unknown, so I think we will need to test it several times, but I think it will increase the degree of freedom for characters.
2枚以外トリガーを外して意味のないトリガーで学習させてみて下さい。
これは、バックグラウンド学習方式と言ってAI用の学習方式です。
AIにキャラクターの顔を認識させて、トリガー無のフォルダーからAIに認識した顔のキャラクターの体を持ってくる方式です。
グーグルコラボの学習強度が不明なので数度のテストが必要だと思いますが、キャラクターの自由度は上がると思います。
@jibunsagasinotabi do u have discord or something where i can contact u ?
@wiz_
I don't use any social media.
Only here.
ソーシャルメディアは一切使用していません。
ここだけです。
@jibunsagasinotabi oh okay, by the way can i request a style lora? https://danbooru.donmai.us/posts?tags=hara_%28harayutaka%29 of this artist
@wiz_
If this were to be used as a teacher image, I think only naked characters would appear.
これを教師画像にしたら裸のキャラクターしか出て来ないんじゃないだろうか。
@wiz_
I tried to make him study briefly, but there are so many problems with this subject that I don't think he will be able to do a good LORA.
・The image may look clean at first glance, but it is rough and causes incorrect learning.
・There are many defects in the human body, and there is no image of the whole body, so I think something is missing.
・Learning about mosaics. It's fine if you don't care about it, but I don't like it because it makes the pictures crumble.
- Since you have to learn multiple types of people, the characters are not stable. This may not be a problem if you want to learn it as a style, but I don't like it.
If you clean the image, it will not become unusable, but it will lose its beautiful appearance.
I think the problem with human body defects can be solved by bringing in other art supplies, but I think learning styles will change.
I think it would be good to exclude the drawn images from mosaics, but there are only a few.
From the above, if I were to have it learn, I would clean it, choose a character rather than a style, use the character LORA, exclude images with mosaics, and add full-body images...
I think this is going to be something else lol
------------------------------------------------
軽く学習させてみたが、この題材には問題が多く、良いLORAは出来ないと思います。
・画像は一見綺麗に見えるが荒く、誤学習する。
・人体の欠損が多く発生する、全身像の画像が無いので何処か欠けるのでは無いかと思う。
・モザイクを学習する、気にしないのなら問題無いが、絵が崩れるので好きではない。
・複数種類の人物を学習する事になるので人物が安定しない、これも、スタイルとして学習させるなら気にならないかもしれないが好きでは無い。
画像はクリーニングすれば使えなくは無いが見た目の綺麗さは失われる。
人体欠損は、他の画材を持ってくれば解決すると思うが、スタイル学習が変わると思う。
モザイクは、描画されている画像を除外すれば良いと思うが数が少ない。
以上の事から、もし、学習させるとしたら、クリーニングした上で、スタイルでは無く、キャラクターを決めて、キャラクターLORAにして、モザイクの有る画像を除外し、全身像を追加する・・・
もう、これは別の何かになると思いますw
Details
Files
Available On (1 platform)
Same model published on other platforms. May have additional downloads or version variants.











