🚀 青少年服裝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。