Instructions to use ashawkey/stable-zero123-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ashawkey/stable-zero123-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ashawkey/stable-zero123-diffusers", 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
How to upload checkpoint to Hugging Face
#1
by xiaobiaodu - opened
Hi
Thanks for your outstanding work!
I am wondering how you decompose stable-zero123 into several checkpoints. Could you please share the code?
Thanks for your help in advance!
you can check this script: https://github.com/threestudio-project/threestudio/blob/main/scripts/convert_zero123_to_diffusers.py
Hi! Thanks for your reply! I really appreciate your reply.