huanngzh/DeepFashion-MultiModal-Parts2Whole
Viewer • Updated • 41.5k • 109 • 9
How to use huanngzh/Parts2Whole with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("huanngzh/Parts2Whole", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Parts2Whole, a novel framework designed for generating customized portraits from multiple reference images, including pose images and various aspects of human appearance.
For usage instructions, please refer to our Parts2Whole GitHub repository.
https://huggingface.co/datasets/huanngzh/DeepFashion-Refs2Target