Instructions to use OzzyGT/Pixal3D with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/Pixal3D with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/Pixal3D", 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 sparse_structure_decoder/config.json from OzzyGT/Pixal3D: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/OzzyGT/Pixal3D/resolve/main/sparse_structure_decoder/config.json
- Command line
-
hf download hf://OzzyGT/Pixal3D/sparse_structure_decoder/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/Pixal3D/resolve/main/sparse_structure_decoder/config.json
230 Bytes
| { | |
| "_class_name": "Pixal3DStructureDecoder", | |
| "_diffusers_version": "0.41.0.dev0", | |
| "channels": [ | |
| 512, | |
| 128, | |
| 32 | |
| ], | |
| "latent_channels": 8, | |
| "num_res_blocks": 2, | |
| "num_res_blocks_middle": 2, | |
| "out_channels": 1 | |
| } | |