🚀 青少年服装LoRA模型
本项目是一个用于生成青少年服装图像的LoRA模型,基于特定的基础模型训练而来。它能根据输入的文本描述生成多样化的青少年服装图像,目前模型仍在训练阶段,后续会不断优化。
🚀 快速开始
模型加载代码示例
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Teen-Outfit"
trigger_word = "Teen Outfit"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
触发词使用
你应该使用 Teen Outfit
来触发图像生成。
模型下载
本模型的权重以Safetensors格式提供。
点击下载,可在 “Files & versions” 标签中找到。
✨ 主要特性
- 多样化风格:能生成多种不同风格的青少年服装图像,如运动风、休闲风、军事风等。
- 细节丰富:图像中服装的颜色、图案、装饰等细节都能很好地呈现。
📦 安装指南
暂未提供具体安装步骤,可参考上述快速开始部分的代码示例进行模型加载。
💻 使用示例
基础用法
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Teen-Outfit"
trigger_word = "Teen Outfit"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
高级用法
目前文档未提供高级用法相关代码,后续可根据具体需求进一步探索。
📚 详细文档
模型描述
prithivMLmods/Teen-Outfit
图像生成参数如下:
属性 |
详情 |
LR Scheduler |
constant |
Noise Offset |
0.03 |
Optimizer |
AdamW |
Multires Noise Discount |
0.1 |
Network Dim |
64 |
Multires Noise Iterations |
10 |
Network Alpha |
32 |
Repeat & Steps |
25 & 2990 |
Epoch |
16 |
Save Every N Epochs |
1 |
标注方式:florence2 - en(自然语言 & 英语)
训练使用的总图像数量:17 [高分辨率]
最佳尺寸
示例展示
- 托管地址🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
以下是一些文本输入及对应的输出图像示例:
文本输入 |
输出图像 |
Teen Outfit, a teal and white jacket is adorned with a white hoodie. The jacket has a white stripe down the left side of the jacket, and two white stripes on the right and left side. On the left sleeve, there is a text written in a cursive font that is in black ink that reads "X" and "X". The jacket is positioned against a stark white backdrop, creating a striking contrast. |
图像链接 |
Teen Outfit, a jacket is hung on a hanger against a stark white backdrop. The jacket is composed of a light green and gray striped jacket, with two orange pockets on either side of the jacket. The pocket on the left side has a white tag with black text on it. The tag also has a black text that reads "N" and "M". The jacket has a zipper on the right side. |
图像链接 |
Teen Outfit, a light brown and white varsity jacket is hung on a black wall. The jacket is adorned with a white collar, white stripes and the words "FORE CAST" in bold white letters. A keychain is hanging from the collar, adding a touch of charm to the jacket. |
图像链接 |
Teen Outfit: A cropped denim jacket with frayed edges, hanging from a black metal hanger against a white brick wall. The jacket is a light wash with a faded floral pattern on the back and a small silver star pin on the right lapel. The left sleeve has a hand - painted design in pastel colors that says WILD in playful, graffiti - style text. |
图像链接 |
Teen Outfit: An olive - green military - inspired jacket with multiple front pockets, displayed on a mannequin against a sandy beige background. The jacket has epaulets on the shoulders, a drawstring waist, and a subtle patch that reads "BRV" on the right arm in dark green. The left pocket has a small silver pin in the shape of a lightning bolt. |
图像链接 |
Teen Outfit: A pastel pink raincoat with a clear plastic overlay, hanging on a bamboo hanger against a navy blue background. The raincoat has snap closures down the front and two side pockets with clear flaps. On the upper back, there’s a delicate white floral design in an outlined style, adding an artistic touch. |
图像链接 |
注意事项
⚠️ 重要提示
该模型仍处于训练阶段,这不是最终版本,可能会包含瑕疵,在某些情况下表现不佳。
📄 许可证
本模型使用的许可证为 creativeml - openrail - m。