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

  • Log In
  • Sign Up

mkddatascience
/
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 mkddatascience/IDM-VTON with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mkddatascience/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("mkddatascience/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 / tokenizer
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
mkddatascience's picture
mkddatascience
Upload IDM-VTON model from yisol/IDM-VTON
864a882 verified 7 months ago
  • merges.txt
    525 kB
    Upload IDM-VTON model from yisol/IDM-VTON 7 months ago
  • special_tokens_map.json
    472 Bytes
    Upload IDM-VTON model from yisol/IDM-VTON 7 months ago
  • tokenizer_config.json
    737 Bytes
    Upload IDM-VTON model from yisol/IDM-VTON 7 months ago
  • vocab.json
    1.06 MB
    Upload IDM-VTON model from yisol/IDM-VTON 7 months ago