🚀 綠色卡通通量LoRA
綠色卡通通量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/Green-Cartoon-Flux-LoRA"
trigger_word = "Green Cartoon"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
觸發詞使用
你應該使用 Green Cartoon
來觸發圖像生成。
模型下載
此模型的權重以Safetensors格式提供。
點擊下載,可在“文件與版本”選項卡中獲取。
✨ 主要特性
- 風格獨特:能夠生成綠色卡通風格的圖像,為用戶帶來新穎的視覺感受。
- 參數可調節:提供了豐富的圖像處理參數,可根據需求進行調整。
📦 安裝指南
暫未提供具體的安裝步驟,可參考上述快速開始部分的代碼進行模型加載和使用。
💻 使用示例
基礎用法
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/Green-Cartoon-Flux-LoRA"
trigger_word = "Green Cartoon"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
📚 詳細文檔
模型描述
prithivMLmods/Green-Cartoon-Flux-LoRA
圖像參數設置如下:
參數 |
值 |
參數 |
值 |
學習率調度器 |
constant |
噪聲偏移 |
0.03 |
優化器 |
AdamW |
多分辨率噪聲折扣 |
0.1 |
網絡維度 |
64 |
多分辨率噪聲迭代次數 |
10 |
網絡阿爾法 |
32 |
重複與步數 |
20 & 2110 |
訓練輪數 |
15 |
每N輪保存一次 |
1 |
標註方式:florence2 - en(自然語言與英語)
訓練使用的總圖像數:11 張(高分辨率)
最佳尺寸
注意事項
⚠️ 重要提示
該模型仍處於訓練階段,這不是最終版本,可能會包含瑕疵,在某些情況下表現不佳。
模型託管地址
🧨 託管地址:https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
示例展示
以下是一些示例提示及對應的輸出圖像:
- 提示:'Green Cartoon, a cartoon character is depicted in a vibrant yellow and black outfit. The characters head is adorned with a black headband, adorned with two large round eyes, a white dot in the center, and a black crown on its head. The background is a dark green, adding a pop of color to the scene.'
輸出:圖像鏈接
- 提示:'Green Cartoon, An animated image of a green bird with a yellow beak. The birds head is facing the left side of the image. Its beak is a bright yellow color. Its eyes are black and round. The beak has a yellow stripe on it. Its wings are a vibrant green color. The background is a dark green.'
輸出:圖像鏈接
- 提示:'Green Cartoon, An animated image of a green dachshund dog standing on a black surface. The dogs head is facing the left side of the image, with its mouth slightly open. Its ears are pointed to the left, and its eyes are open. The ears are a dark green, with a black stripe running down the middle of the ears. Its mouth is slightly open, and there are black dots on its stomach. The background is a dark gray wall with a light shining on it.'
輸出:圖像鏈接
📄 許可證
本模型採用 creativeml-openrail-m
許可證。