Downloads · 30 days
7
29% of all-time downloads
S1T4L/Zero123pp_custom
Zero123pp_custom is a image-to-image model from S1T4L. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as openrail.
Recommended version of diffusers is 0.20.2 with torch 2.
Downloads · 30 days
7
29% of all-time downloads
All-time downloads
24
Public
Repo size
3.8 GB
Likes
0
Public
Click a slice to open those files.
.bin3.8 GB · 100%
From the Hugging Face model README
Recommended version of diffusers is 0.20.2 with torch 2.
Usage Example:
import torch
import requests
from PIL import Image
from diffusers import DiffusionPipeline, EulerAncestralDiscreteScheduler
# Load the pipeline
pipeline = DiffusionPipeline.from_pretrained(
"S1T4L/Zero123pp_custom", custom_pipeline="S1T4L/Zero123pp_custom_pipeline",
torch_dtype=torch.float16
)
# Feel free to tune the scheduler
pipeline.scheduler = EulerAncestralDiscreteScheduler.from_config(
pipeline.scheduler.config, timestep_spacing='trailing'
)
pipeline.to('cuda:0')
# Run the pipeline
cond = Image.open(requests.get("https://d.skis.ltd/nrp/sample-data/lysol.png", stream=True).raw)
result = pipeline(cond).images[0]
result.show()
result.save("output.png")