Views
No views yet
| 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 & 2.7K |
| Epoch | 15 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 231import torch
2from diffusers import StableDiffusion3Pipeline
3
4pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16)
5pipe.load_lora_weights("prithivMLmods/SD3.5-Large-Anime-LoRA", weight_name="SD3.5-Large-Anime-LoRA.safetensors")
6pipe.fuse_lora(lora_scale=1.0)
7pipe.to("cuda")
8
9prompt = "Man in the style of dark beige and brown, uhd image, youthful protagonists, nonrepresentational photography"
10negative_prompt = "(lowres, low quality, worst quality)"
11
12image = pipe(prompt=prompt,
13 negative_prompt=negative_prompt
14 num_inference_steps=24,
15 guidance_scale=4.0,
16 width=960, height=1280,
17 ).images[0]
18image.save(f"example.jpg")

[!WARNING] Trigger words: You should useAnime 35to trigger the image generation.