|
Download README.md from RBXLSP/TextureLux-DoRAN: direct link, hf CLI and curl.
- Browser
- Download file 5.31 kB
-
https://huggingface.co/RBXLSP/TextureLux-DoRAN/resolve/main/README.md
- Command line
-
hf download hf://RBXLSP/TextureLux-DoRAN/README.md
-
curl -L -o README.md https://huggingface.co/RBXLSP/TextureLux-DoRAN/resolve/main/README.md
5.31 kB
metadata
license: apache-2.0
base_model:
- OpenMOSS-Team/MOSS-Image-Base
library_name: comfyui
pipeline_tag: text-to-image
tags:
- comfyui
- nara
- dora
- lora
- moss-image
- anime
- style
- texture
- zh
TextureLux
MOSS-Image 的 DoRAN(DoRA + NaRA)质感增强适配器,在 403 张动漫插画上训练 1,500 步,对 attn + MLP 生效。基模 MOSS-Image-Base bf16。
DoRAN 是两种 LoRA 变体的组合:
- NaRA(Noise-aware Rank Adaptation):低秩核心随去噪噪声水平 sigma 变化;
- DoRA(Weight-Decomposed Low-Rank Adaptation):幅度/方向分解,幅度在每次前向的 live BA·C(sigma) 之后以 fp32 归一化。
文件
| 文件 | 内容 |
|---|---|
TextureLux-1500-DoRAN.safetensors |
step 1500 可训练权重导出 |
TextureLux-ema-1500-DoRAN.safetensors |
step 1500 EMA(decay 0.98)权重导出 |
使用
- RBkreb/comfyui-moss-nara
- 无触发词,strength 1.0
- 建议使用euler,CFG 3~4
- 使用负面提示词,本adapter的主观能动性偏强,并增加了少量幻觉
- 不适配comfy原生加载器
效果
- 在多种风格中增强了布料、皮肤、光照等质感。在真实世界图像生成时保持低影响性
- 测试模型:MOSS Image SFT int8 convrot
| 基模 | DoRAN | EMA |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
劣化测试
- 在复杂文字+融合场景时有部分劣化:幻觉与自主生成,需要更多的提示词约束。见Night Market 海报
- 在部分文字场景中,DoRAN有更好的表现,见Physics Examination的力箭头与JRPG的HP/MP条
| 基模 | DoRAN | EMA |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
局限
- 当文字过度劣化时,则应降低strength或完全不使用DoRAN
- 未验证多个 NaRA 组合以及与其他 adapter 的兼容性,尽管从数学理论层面可以兼容。
训练信息
| 项目 | 值 |
|---|---|
| 算法 | LoRA + NaRA + DoRA |
| 步数 | 1,500 |
| Rank / alpha | 32 / 32 |
| 作用模块 | proj_q/k/v/o + proj_ffn_up_gate/down |
| 超网络 | Fourier sigma 编码(dim 64,scale 16),hidden 256/512,c_scale 0.1 |
| DoRA | weight decompose,幅度在 live BA·C(sigma) 后 fp32 归一化 |
| Dropout | module 0.05;text drop 0.05 |
| 数据集 | 403 张动漫插画,长边 980–10704 px(中位 2466),自然语言散文描述(289–1024 字符,中位 711) |
| 分辨率 | resize 至 0.25 MP(保持长宽比),token batching 12288 |
| 优化器 | AdamW,LR 1e-4,WD 1e-4,cosine 调度,warmup 90 步,grad clip 1.0 |
| 时间步 | MOSS 调度(mu −1.09,s 0.95,shift 1.0,cutoff 0.95,uniform_mix 0.01) |
| EMA | 0.98 |
| 精度 | bf16 |
| 文本编码器 | Qwen3.5-9B(int8 convrot) |
| 训练器 | KohakuMossTrainer+nara集成 |


























