🚀 绿色卡通通量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
许可证。