Views
No views yet
| Item | Description |
|---|---|
| Base Model | Stable Diffusion v1.5 |
| Adapter Type | ControlNet (zero-conv) |
| Training Data | 677 hand crops from 5 games |
| Input | Bounding box → Gaussian heatmap |
| Resolution | 1024×1024 |
| Training Steps | 10k |
| Hardware | i7-12700 CPU (47.5h) |
| Weights | advanced_controlnet.pth |
1from diffusers import StableDiffusionControlNetPipeline, ControlNetModel
2import torch
3from PIL import Image
4
5# Load model
6controlnet = ControlNetModel.from_pretrained(
7 "anonymous-cvpr2026/handcontrolnet",
8 torch_dtype=torch.float16
9)
10pipe = StableDiffusionControlNetPipeline.from_pretrained(
11 "runwayml/stable-diffusion-v1-5",
12 controlnet=controlnet,
13 torch_dtype=torch.float16
14).to("cuda")
15
16# Generate
17image = pipe(
18 prompt="anime girl holding apple, detailed hands",
19 controlnet_conditioning_scale=1.0,
20 # Your bbox → heatmap logic here
21).images[0]
22
23image.save("output.png")