Other Styles
Collection
illustrations • 20 items • Updated
How to use Polycruz9/long-toon-pixar-3d with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Polycruz9/long-toon-pixar-3d")
prompt = "Long toons, a close-up of a cartoon characters face is featured in a vibrant red backdrop. The characters head is adorned with a gray hoodie, a red t-shirt, and a pair of pink earbuds. His eyes, a nose, and mustache are adorned with tiny white dots, adding a pop of color to the scene. His hair is a mix of black and gray, while his ears are a darker shade of pink."
image = pipe(prompt).images[0]
______ ______ __ __ __ ______ ______ __ __ ______ __ ______
/\ == \/\ __ \ /\ \ /\ \_\ \ /\ ___\ /\ == \ /\ \/\ \ /\___ \ /\ \ /\ __ \
\ \ _-/\ \ \/\ \\ \ \____\ \____ \\ \ \____\ \ __< \ \ \_\ \\/_/ /__ \ \ \\ \ \/\ \
\ \_\ \ \_____\\ \_____\\/\_____\\ \_____\\ \_\ \_\\ \_____\ /\_____\ \ \_\\ \_____\
\/_/ \/_____/ \/_____/ \/_____/ \/_____/ \/_/ /_/ \/_____/ \/_____/ \/_/ \/_____/






The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.
Image Processing Parameters
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| 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 & 3270 |
| Epoch | 18 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 15
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 = "Polycruz9/long-toon-pixar-3d"
trigger_word = "Long toons"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Long toons to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.