Instructions to use peter168/ddpm-floorplans_tutorial-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use peter168/ddpm-floorplans_tutorial-128 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("peter168/ddpm-floorplans_tutorial-128", 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
Upload model
Browse files- config.json +1 -1
- diffusion_pytorch_model.safetensors +1 -1
config.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
| 37 |
"num_train_timesteps": null,
|
| 38 |
"out_channels": 3,
|
| 39 |
"resnet_time_scale_shift": "default",
|
| 40 |
-
"sample_size":
|
| 41 |
"time_embedding_type": "positional",
|
| 42 |
"up_block_types": [
|
| 43 |
"UpBlock2D",
|
|
|
|
| 37 |
"num_train_timesteps": null,
|
| 38 |
"out_channels": 3,
|
| 39 |
"resnet_time_scale_shift": "default",
|
| 40 |
+
"sample_size": 128,
|
| 41 |
"time_embedding_type": "positional",
|
| 42 |
"up_block_types": [
|
| 43 |
"UpBlock2D",
|
diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 454741108
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c741357f03ef2aa454a42d58c3feba801615089fc64b6d6284676ba6c0b44a1
|
| 3 |
size 454741108
|