Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ModelsLab
/
IDM-VTON

Image-to-Image
Diffusers
ONNX
Safetensors
StableDiffusionXLInpaintPipeline
stable-diffusion-xl
inpainting
virtual try-on
Model card Files Files and versions
xet
Community

Instructions to use ModelsLab/IDM-VTON with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ModelsLab/IDM-VTON with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ModelsLab/IDM-VTON", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
IDM-VTON
29.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
edwixx's picture
edwixx
Upload folder using huggingface_hub
23b8855 verified over 1 year ago
  • assets
    Upload folder using huggingface_hub over 1 year ago
  • densepose
    Upload folder using huggingface_hub over 1 year ago
  • humanparsing
    Upload folder using huggingface_hub over 1 year ago
  • image_encoder
    Upload folder using huggingface_hub over 1 year ago
  • openpose
    Upload folder using huggingface_hub over 1 year ago
  • scheduler
    Upload folder using huggingface_hub over 1 year ago
  • text_encoder
    Upload folder using huggingface_hub over 1 year ago
  • text_encoder_2
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer_2
    Upload folder using huggingface_hub over 1 year ago
  • unet
    Upload folder using huggingface_hub over 1 year ago
  • unet_encoder
    Upload folder using huggingface_hub over 1 year ago
  • vae
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    1.63 kB
    Upload folder using huggingface_hub over 1 year ago
  • README.md
    1.56 kB
    Upload folder using huggingface_hub over 1 year ago
  • model_index.json
    750 Bytes
    Upload folder using huggingface_hub over 1 year ago