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

wd1511
/
fast-ldm

Image-to-Image
Diffusers
English
Chinese
style-transfer
video-to-video
diffusion
fast
Model card Files Files and versions
xet
Community

Instructions to use wd1511/fast-ldm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use wd1511/fast-ldm 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("wd1511/fast-ldm", 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
fast-ldm / model /annotator
1.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
wd1511's picture
wd1511
Add FAST annotator implementations and weights
b0d052b verified 24 days ago
  • canny
    Add FAST annotator implementations and weights 24 days ago
  • ckpts
    Add FAST annotator implementations and weights 24 days ago
  • hed
    Add FAST annotator implementations and weights 24 days ago
  • hed_1_1
    Add FAST annotator implementations and weights 24 days ago
  • oneformer
    Add FAST annotator implementations and weights 24 days ago
  • pidinet
    Add FAST annotator implementations and weights 24 days ago
  • uniformer
    Add FAST annotator implementations and weights 24 days ago
  • util.py
    980 Bytes
    Add FAST annotator implementations and weights 24 days ago
  • util_1_1.py
    2.54 kB
    Add FAST annotator implementations and weights 24 days ago