Instructions to use Nunatic/unet1d-layout-diffusion-bezier-boxes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Nunatic/unet1d-layout-diffusion-bezier-boxes with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Nunatic/unet1d-layout-diffusion-bezier-boxes", 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
Download config.json from Nunatic/unet1d-layout-diffusion-bezier-boxes: direct link, hf CLI and curl.
- Browser
- Download file 795 Bytes
-
https://huggingface.co/Nunatic/unet1d-layout-diffusion-bezier-boxes/resolve/main/config.json
- Command line
-
hf download hf://Nunatic/unet1d-layout-diffusion-bezier-boxes/config.json
-
curl -L -o config.json https://huggingface.co/Nunatic/unet1d-layout-diffusion-bezier-boxes/resolve/main/config.json
795 Bytes
| { | |
| "_class_name": "UNet1DModel", | |
| "_diffusers_version": "0.30.3", | |
| "_name_or_path": "unet1d-layout-diffusion-bezier-boxes", | |
| "act_fn": null, | |
| "block_out_channels": [ | |
| 64, | |
| 128, | |
| 256, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownBlock1D", | |
| "DownBlock1D", | |
| "AttnDownBlock1D", | |
| "DownBlock1D" | |
| ], | |
| "downsample_each_block": false, | |
| "extra_in_channels": 0, | |
| "flip_sin_to_cos": true, | |
| "freq_shift": 0.0, | |
| "in_channels": 3, | |
| "layers_per_block": 2, | |
| "mid_block_type": "UNetMidBlock1D", | |
| "norm_num_groups": 8, | |
| "out_block_type": null, | |
| "out_channels": 3, | |
| "sample_rate": null, | |
| "sample_size": 128, | |
| "time_embedding_type": "fourier", | |
| "up_block_types": [ | |
| "UpBlock1D", | |
| "AttnUpBlock1D", | |
| "UpBlock1D", | |
| "UpBlock1D" | |
| ], | |
| "use_timestep_embedding": false | |
| } | |