Instructions to use bennyguo/zero123-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bennyguo/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("bennyguo/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 convert zero123.ckpt to diffusers?
#1
by weailee - opened
Hi,
Would it be possible to share a script to convert zero123.ckpt (105000.ckpt) to Diffusers format?
I tried https://github.com/huggingface/diffusers/blob/main/scripts/convert_original_stable_diffusion_to_diffusers.py but it gives me a shape error...
Hi! You could use this script: https://github.com/threestudio-project/threestudio/blob/main/scripts/convert_zero123_to_diffusers.py
Thanks! I did not know there is zero123_to_diffusers.py file! It worked :)
weailee changed discussion status to closed