File size: 474 Bytes
e0fde27
 
df49cc2
 
 
 
 
 
 
 
e0fde27
 
df49cc2
e0fde27
df49cc2
 
 
e0fde27
df49cc2
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
library_name: diffusers
pipeline_tag: image-feature-extraction
tags:
- controlnet
- stable-diffusion-xl
- stable-diffusion-xl-diffusers
- text-to-image
- diffusers
license: apache-2.0
---

[Origin model](https://huggingface.co/xinsir/controlnet-openpose-sdxl-1.0)

```py
from diffusers import ControlNetModel
import torch

controlnet = ControlNetModel.from_pretrained(
    "r3gm/controlnet-openpose-sdxl-1.0-fp16",
    torch_dtype=torch.float16,
    variant="fp16"
)
```