Views
No views yet
Status: not yet trained. This repository was created ahead of the first run. Checkpoints and sample renders appear here as training proceeds.
artstation / intricate / octane render idiom that its users prompted with. It does not
push image quality past what SD 1.5 already does, and it is not intended to.
Judge it on style adherence, not on "is it better than the base model".whosouravsharma/text-to-image-diffusiondb-2M
at revision v2-clean — 14,598 images from part_id 1–20.| split | examples |
|---|---|
| train | 13,598 |
| validation | 1,000 |
image_nsfw and prompt_nsfw below 0.2, at most 2
images per normalized prompt, exact SHA-256 duplicates removed.| base | runwayml/stable-diffusion-v1-5 |
| adapter | LoRA rank 32, alpha 32, on UNet to_q/to_k/to_v/to_out.0 |
| text encoder | frozen |
| resolution | 512×512, centre crop |
| VAE | stabilityai/sd-vae-ft-mse (latents cached ahead of training) |
| effective batch | 32 (8 × 4 grad accumulation) |
| optimizer | AdamW, lr 1e-4, cosine schedule, 500 warmup |
| caption dropout | 10%, for classifier-free guidance |
| precision | fp16 |
state.json recording the exact values it was
trained with, so the table above can be checked rather than trusted.checkpoints/
checkpoint-<step>/
pytorch_lora_weights.safetensors the adapter
optimizer.pt optimizer + scaler state, for resuming
state.json step, epoch, hyperparameters
training/ the scripts that produced all of this
samples/
base/ vanilla SD 1.5, the comparison baseline
checkpoint-<step>/
grid.jpg contact sheet, all eval prompts
000.png … 049.png individual renders
prompts.json prompt list, seed, steps, guidancesamples/base/ is vanilla SD 1.5 on the same prompts.1import torch
2from diffusers import StableDiffusionPipeline
3
4pipe = StableDiffusionPipeline.from_pretrained(
5 "runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16
6).to("cuda")
7pipe.load_lora_weights(
8 "whosouravsharma/diffusiondb-sd15-lora", subfolder="checkpoints/checkpoint-4240"
9)
10
11image = pipe(
12 "a steampunk owl inside a glass jar, intricate detail",
13 num_inference_steps=30, guidance_scale=7.5,
14).images[0]artstation), which the
adapter will have learned as part of the aesthetic.