Instructions to use RzZ/sd-v1-4-adapter-openpose with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RzZ/sd-v1-4-adapter-openpose with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("RzZ/sd-v1-4-adapter-openpose", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| { | |
| "_class_name": "Adapter", | |
| "_diffusers_version": "0.2.2", | |
| "channels_in": 3, | |
| "block_out_channels": [ | |
| 320, | |
| 640, | |
| 1280, | |
| 1280 | |
| ], | |
| "num_res_blocks": 2, | |
| "kernel_size": 1, | |
| "res_block_skip": true, | |
| "use_conv": false, | |
| "input_scale_factor": 8 | |
| } | |