Sign In

HameFMix

603
4.3k
34
Verified:
SafeTensor
Type
Checkpoint Merge
Stats
597
Reviews
Published
Jul 20, 2023
Base Model
SD 1.5
Usage Tips
Clip Skip: 2
Hash
AutoV2
115E85E81A

CFGScaleFixの利用を前提とした非常に特殊なモデルです!

以下の文章をよく読んでください!(English is behind Japanese)

HameFMixはNSFW画像の生成もできるアニメモデルです。Hassaku,meina,CounterFeitの3モデルを中心にマージをしました。

Adjustは素晴らしい機能ですが、ノイズ強度を上げるとイラストが崩れてしまう欠点がありました。しかし、色々モデルを生成しているうちにCFGScaleFixを使用することで改善できることがわかりました。

このモデルはCFGの値を高く取り、CFGscaleFixを使うことで(特に背景と服装が)超高精細なイラストを生成することができます。CFGScaleFixを使用しない場合は生成画像にノイズが多く残ってしまうため、あまりパッとしないイラストになるでしょう。

CFGScaleFixは以下のように設定すると上手くいきます。(CFGは30~35に設定)

Mimic scale: 7, Threshold percentile: 100, Mimic mode: Sawtooth, Mimic scale minimum: 22~30, CFG mode: Sawtooth, CFG scale minimum: 3, Scheduler value: 20

4つ5つのモデルがありますが、モデル内容自体は全く同じでAdjustの設定が違います。Aを基本として、Bがノイズ強度強め、Cがコントラスト強めに設定しています。そしてEはノイズとコントラストを最大限強化したテストモデルです。

Bはノイズ強度を限界まで高めているため、イラストにちらつきが残ります。私は、それがかっこよく見えたのでノイズ残りをわざと残しましたが、気に入らない人も多いかもしれないです。

そしてDは、CFGScaleFixを使用しなくてもノイズ飛びが少なくなるように調整しました。このモデルはDPM2++ 2MSDEの使用を強く推奨します。

また、Hires.Fixを使用すると描き込みが薄れてしまうので、高解像度イラストを作るときはt2i→i2iの二段生成を推奨します。

English(DeepL translate)

This is a very specific model for the use of CFGScaleFix!

Please read the following text carefully!

HameFMix is an animation model that can also generate NSFW images.

We merged mainly three models: Hassaku, meina, and CounterFeit.

Adjust is a great feature, but it had the drawback that the illustration would collapse when the noise intensity was increased. However, after generating various models, I found that it could be improved by using CFGScaleFix.

Without CFGScaleFix, the generated image will have a lot of noise, and the illustration will not be very crisp.

The CFGScaleFix can be set as follows. (CFG is set to 30~35)

Mimic scale: 7, Threshold percentile: 100, Mimic mode: Sawtooth, Mimic scale minimum: 22~30, CFG mode: Sawtooth, CFG scale minimum: 3, Scheduler value: 20

There are four five models, but the models themselves are exactly the same, with different Adjust settings: A is set as the basic model, B is set for stronger noise intensity, and C is set for stronger contrast. And E is a test model with maximum noise and contrast enhancement.

B is set to the limit of noise intensity, so there is some flicker in the illustration. I intentionally left the noise residue because I thought it looked cool, but many people may not like it.

And D was adjusted to reduce noise jumps without the use of CFGScaleFix. The use of DPM2+ + + 2MSDE is strongly recommended for this model.

Also, since the use of Hires.Fix will cause the drawing to fade, two-stage generation (t2i to i2i) is recommended when creating high-resolution illustrations.