UltimatePinkPig Realistic版本v1.0 (ID: 85368)

UltimatePinkPig Realistic版本v1.0 (ID: 85368)

This is the LoRA for realistic pink piggy.

Mini usually, pink mostly, but pigs always.

A lot of people ask me how I trained, so here are the settings:

Updated May 15 2023: change epoch to 50 and file name (repeat) to 2_xxx.

1: Koyah_SS GUI

I use Koyha_SS GUI to train my LORAs.

Some Key Settings:

"max_resolution": "768,768"

(if your GPU is really powerful, using 1024,1024 will be even better)

"learning_rate": "3e-6",

"lr_scheduler": "cosine_with_restarts",

"lr_warmup": "5",

"train_batch_size": 4,

"epoch": "5",

  • (May 15 2023: "epoch": "50" with file name 2_xxx)

"save_every_n_epochs": "40",

"mixed_precision": "bf16",

"save_precision": "bf16",

"enable_bucket": true,

"use_8bit_adam": false,

"text_encoder_lr": "1e-5",

"unet_lr": "5e-5",

"network_dim": 128,

"clip_skip": 2,

"network_alpha": 64,

"persistent_data_loader_workers": true,

"optimizer": "Lion"

If your hardware does not support my setting, tried to reduce the batch size to 2 or 1, this will increase the training time dramatically. If you want training time to be shorter, using epoch 2 will solve that.

Personally, I use epoch 5 because my hardware supports that and I think a higher epoch might capture more details from the source, but it is not necessary.

2. Training source image set:

Image selection:

50 high-resolution (at least 1024*1024 before cropping) images with around 25 close-up and 20 upper-body shots and 5 full-body images. The more angles of the images the better.

Preprocess:

Auto focal crop in webUI with cropping dimension being at least 768*768 and up to 1536*1536.

Integrate with BLIP and Deepdanbooru for caption, and also use the stable-diffusion-webui-wd14-tagger extension for further captions. Remember to select append on existing captions and also select Remove duplicated tag

Then I use BooruDatasetTagManager to manually change the captions to my desired ones.

Image file name:

50_xxx

(This means each image in the image file is repeated 50 times)

  • May 15 2023: 2_xxx but with epoch increase to 50

Then you should be ready to go!

However, because of source image selection, you might need to give a trial on the resulting LORA and modify the source image several times until you get the LORA you are satisfied. Also, because everyone's hardware could be different, if you can not run 768*768 with batch size 4, try 2 or even 1.

I think the LORA result is really sensitive to the source images, so the image selection and tagging are the actual important part. Something you could tell what is the “bad” source image by trying out the LORA, and to improve it, you simply delete that "bad" image from the source. And sometimes you find some problem with the LORA suggested you need to modify the tags. For example, always generate a "wet" effect suggesting that you might not have “wet, rain, pool” tagged on a related source image.

3. Training:

Check your usually used checkpoint and see what it is based on, then select your base model based on that. good luck training.

描述:

Based on SD1.5.

训练词语: ultimatepinkpig

名称: UltimatePinkPig_v1.0.safetensors

大小 (KB): 73849

类型: Model

Pickle 扫描结果: Success

Pickle 扫描信息: No Pickle imports

病毒扫描结果: Success

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

UltimatePinkPig Realistic

资源下载
下载价格VIP专享
仅限VIP下载升级VIP
犹豫不决让我们错失一次又一次机会!!!
原文链接:https://1111down.com/913141.html,转载请注明出处
由于网站升级,部分用户密码全部设置为111111,登入后自己修改, 并且VIP等级提升一级(包月提升至包季,包季提升到包年 包年提升至永久)
没有账号?注册  忘记密码?

社交账号快速登录