Instructions to use xandergos/terrain-diffusion-autoencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xandergos/terrain-diffusion-autoencoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xandergos/terrain-diffusion-autoencoder", 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 2 files
Browse files- config.json +24 -0
- diffusion_pytorch_model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "EDMAutoencoder",
|
| 3 |
+
"_diffusers_version": "0.30.3",
|
| 4 |
+
"attn_resolutions": [],
|
| 5 |
+
"block_kwargs": null,
|
| 6 |
+
"conditional_inputs": [],
|
| 7 |
+
"direct_skips": [],
|
| 8 |
+
"image_size": 512,
|
| 9 |
+
"in_channels": 1,
|
| 10 |
+
"latent_channels": 4,
|
| 11 |
+
"layers_per_block": 2,
|
| 12 |
+
"layers_per_block_decoder": null,
|
| 13 |
+
"logvar_channels": 128,
|
| 14 |
+
"midblock_attention": false,
|
| 15 |
+
"model_channel_mults": [
|
| 16 |
+
1,
|
| 17 |
+
2,
|
| 18 |
+
4,
|
| 19 |
+
4
|
| 20 |
+
],
|
| 21 |
+
"model_channels": 64,
|
| 22 |
+
"n_logvar": 1,
|
| 23 |
+
"out_channels": 1
|
| 24 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd3d81e93fc514deb0ab8494f2212d956f42bca1e76eb547da93bd66e539ff8a
|
| 3 |
+
size 81968196
|