How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Moon-jack/Democratize-CSG", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

file structure:

checkpoints
β”œβ”€β”€ DWPose
β”‚   β”œβ”€β”€ dw-ll_ucoco_384.onnx
β”‚   └── yolox_l.onnx
β”œβ”€β”€ Animation
β”‚   β”œβ”€β”€ pose_net.pth
β”‚   β”œβ”€β”€ face_encoder.pth
β”‚   └── unet.pth
β”œβ”€β”€ stable-video-diffusion-img2vid-xt
β”‚   β”œβ”€β”€ feature_extractor
β”‚   β”œβ”€β”€ image_encoder
β”‚   β”œβ”€β”€ scheduler
β”‚   β”œβ”€β”€ unet
β”‚   β”œβ”€β”€ vae
β”‚   β”œβ”€β”€ model_index.json
β”‚   β”œβ”€β”€ svd_xt.safetensors
β”‚   └── svd_xt_image_decoder.safetensors
models
β”‚   └── antelopev2
β”‚       β”œβ”€β”€ 1k3d68.onnx
β”‚       β”œβ”€β”€ 2d106det.onnx
β”‚       β”œβ”€β”€ genderage.onnx
β”‚       β”œβ”€β”€ glintr100.onnx
β”‚       └── scrfd_10g_bnkps.onnx

Refer to: https://github.com/MPI-Lab/Democratizing-CSG

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support