SDXL dildo
详情
下载文件
关于此版本
模型描述
另一个用于更明确内容的SDXL LoRA,这次是关于阴茎仿真器和性玩具的。对于SD 1.5来说,这是一个难以掌握的概念,所以我们来看看XL版本能否更好地处理它。
v0.3:
更好地支持动漫、卡通、渲染、皮克斯风格。
内衣和服装种类更丰富,不总是露出胸部。
在0.8-1.0强度下效果良好,未过度训练。
v0.2:
- 第93和99轮训练效果都不错,使用0.7-0.8强度。
v0.1:
- 总体而言,我认为第74轮训练效果最佳,使用约0.75强度。
学习到的关键词:
主要关键词:
dildo用于 v0.3sexl_dildo用于 v0.1 和 v0.2
其他关键词:
dildo: 1410
1girl: 1254
pussy: 1114
solo: 1099
realistic: 1015
sex toy: 864
object insertion: 837
nude: 674
ass: 634
breasts: 610
masturbation: 603
anus: 569
female masturbation: 563
nipples: 549
spread legs: 534
long hair: 524
pubic hair: 510
vaginal: 505
vaginal object insertion: 488
female pubic hair: 424
lips: 360
lying: 354
brown hair: 349
anal: 338
blonde hair: 317
black hair: 317
anal object insertion: 314
完整标签频率列表:https://gist.github.com/onnx-nsfw/4bd77d82a0354853bec14bc667b1ddd1
示例标题:
dildo, solo, ass, pantyhose, nude, pussy, indoors, from behind, vaginal, fingernails, uncensored, anus, sex toy, anal, close-up, masturbation, female masturbation, object insertion, realistic, dildo, ass focus, anal object insertion, vaginal object insertion, lower body, gaping, large insertion, dildo riding
dildo, solo, ass, pantyhose, pussy, from behind, vaginal, uncensored, anus, sex toy, anal, close-up, masturbation, female masturbation, object insertion, realistic, dildo, ass focus, anal object insertion, vaginal object insertion, lower body, gaping, large insertion, dildo riding
dildo, solo, ass, nude, pussy, from behind, vaginal, fingernails, uncensored, anus, sex toy, anal, close-up, masturbation, female masturbation, object insertion, realistic, dildo, ass focus, anal object insertion, vaginal object insertion, dildo riding
dildo, solo, thighhighs, underwear, panties, ass, from behind, bra, black panties, back, underwear only, lingerie, black bra, close-up, garter belt, head out of frame, ass focus
dildo, solo, thighhighs, underwear, panties, ass, from behind, fishnets, sex toy, anal, garter belt, object insertion, dildo, ass focus, fishnet pantyhose, anal object insertion, fishnet thighhighs
训练方法:
测试此方法:https://civitai.com/articles/1771。v0.1 和 v0.2 使用了100轮训练法,学习率为2e-05。
v0.3:
1458张源图像(最短边 > 768像素)
1588个随机裁剪(1024x1024)
精选后剩余1410张
每张源图像最多生成12个裁剪
最短边缩放到1024像素
使用ResNet18、余弦相似度、0.925阈值去重
删除不完整或超出画面的图像
无水印
使用WD 1.4自动生成标题,阈值0.45
- 删除错误标签
2次重复
批量大小8
100轮训练
32维 / 32 alpha
AdamW8bit,学习率恒定
文本编码器和UNet的学习率均为2e-05
打乱标题
标题丢弃率0.05
在30%训练后停止文本编码器训练(仍不确定此功能是否已实现)
v0.2:
344张源图像
去重和调整大小后剩余287张
1087个随机裁剪
精选后剩余806张
- 方法与v0.1相同
使用WD 1.4自动生成标题,阈值0.6
- 轻度筛选,删除错误标签
3次重复
批量大小8
100轮训练
32维 / 32 alpha
AdamW8bit,学习率恒定
文本编码器和UNet的学习率均为2e-05
打乱标题
v0.1:
约500张源图像(> 1024x1024)
约1000个随机裁剪(1024x1024)
精选后剩余440张
使用ResNet18、余弦相似度、0.9阈值去重
删除不完整或超出画面的图像
无水印
1次重复
批量大小8
100轮训练(第45-50轮和70-75轮效果最佳)
32维 / 32 alpha
AdamW8bit,学习率恒定
文本编码器和UNet的学习率均为2e-05
我乐意分享数据集,但目前没有合适的托管平台。
v0.3:
- 包含更多内衣和服装类型
v0.2:
- 下次需要在标题中明确标注阴茎仿真器的颜色,并增加更多姿势。
v0.1:
- 下次我考虑移除
sexl_dildo关键词,专注于优化现有的dildo标记。
- 下次我考虑移除
训练参数:
{
"LoRA_type": "Standard",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": false,
"bucket_reso_steps": 64,
"cache_latents": true,
"cache_latents_to_disk": true,
"caption_dropout_every_n_epochs": 0.0,
"caption_dropout_rate": 0.05,
"caption_extension": ".txt",
"clip_skip": "1",
"color_aug": false,
"conv_alpha": 1,
"conv_block_alphas": "",
"conv_block_dims": "",
"conv_dim": 1,
"decompose_both": false,
"dim_from_weights": false,
"down_lr_weight": "",
"enable_bucket": false,
"epoch": 100,
"factor": -1,
"flip_aug": true,
"full_bf16": false,
"full_fp16": false,
"gradient_accumulation_steps": "1",
"gradient_checkpointing": true,
"keep_tokens": "0",
"learning_rate": 2e-05,
"logging_dir": "",
"lora_network_weights": "",
"lr_scheduler": "constant",
"lr_scheduler_args": "",
"lr_scheduler_num_cycles": "",
"lr_scheduler_power": "",
"lr_warmup": 0,
"max_bucket_reso": 2048,
"max_data_loader_n_workers": "0",
"max_resolution": "1024,1024",
"max_timestep": 1000,
"max_token_length": "75",
"max_train_epochs": "100",
"max_train_steps": "",
"mem_eff_attn": false,
"mid_lr_weight": "",
"min_bucket_reso": 256,
"min_snr_gamma": 5,
"min_timestep": 0,
"mixed_precision": "fp16",
"model_list": "custom",
"module_dropout": 0,
"multires_noise_discount": 0,
"multires_noise_iterations": 0,
"network_alpha": 32,
"network_dim": 32,
"network_dropout": 0,
"no_token_padding": false,
"noise_offset": 0,
"noise_offset_type": "Original",
"num_cpu_threads_per_process": 2,
"optimizer": "AdamW8bit",
"optimizer_args": "",
"output_dir": "/mnt/training/results/dildo-v03-std/",
"output_name": "last",
"persistent_data_loader_workers": false,
"pretrained_model_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
"prior_loss_weight": 1.0,
"random_crop": false,
"rank_dropout": 0,
"reg_data_dir": "",
"resume": "",
"sample_every_n_epochs": 1,
"sample_every_n_steps": 0,
"sample_prompts": "beautiful woman playing with dildo, detailed, 8k, long hair, breasts, open mouth, multiple girls, ass, nude, pussy, sex toy, anal, object insertion, realistic, dildo, anal object insertion --d 5 --w 1024 --h 1024 --l 9 --s 75",
"sample_sampler": "euler_a",
"save_every_n_epochs": 1,
"save_every_n_steps": 0,
"save_last_n_steps": 0,
"save_last_n_steps_state": 0,
"save_model_as": "safetensors",
"save_precision": "fp16",
"save_state": false,
"scale_v_pred_loss_like_noise_pred": false,
"scale_weight_norms": 0,
"sdxl": true,
"sdxl_cache_text_encoder_outputs": false,
"sdxl_no_half_vae": true,
"seed": "",
"shuffle_caption": true,
"stop_text_encoder_training_pct": 30,
"text_encoder_lr": 2e-05,
"train_batch_size": 8,
"train_data_dir": "/mnt/training/cropped/dildo-v03",
"train_on_input": true,
"training_comment": "",
"unet_lr": 2e-05,
"unit": 1,
"up_lr_weight": "",
"use_cp": false,
"use_wandb": false,
"v2": false,
"v_parameterization": false,
"v_pred_like_loss": 0,
"vae_batch_size": 0,
"wandb_api_key": "",
"weighted_captions": false,
"xformers": "xformers"
}







