Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

zhengchong
/
FastFit-MR-1024

Image-to-Image
Diffusers
Safetensors
English
virtual-try-on
diffusion
stable-diffusion
multi-reference
computer-vision
comfyui
gradio
aigc
Model card Files Files and versions
xet
Community
2

Instructions to use zhengchong/FastFit-MR-1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use zhengchong/FastFit-MR-1024 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("zhengchong/FastFit-MR-1024", 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
FastFit-MR-1024 / assets
1.74 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
zhengchong's picture
zhengchong
Upload 3 files
3e58c97 verified 12 months ago
  • img
    Upload 3 files 12 months ago
  • fastfit_workflow.json
    34.4 kB
    Upload 3 files 12 months ago