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

BiliSakura
/
MMDiff-diffusers

Text-to-Image
Diffusers
Safetensors
English
MMDiffPipeline
remote-sensing
optical
sar
infrared
multimodal
lora
stable-diffusion
Model card Files Files and versions
xet
Community

Instructions to use BiliSakura/MMDiff-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use BiliSakura/MMDiff-diffusers with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("BiliSakura/MMDiff-diffusers")
    
    prompt = "There is a ship in the blue water on the shore."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
MMDiff-diffusers / vae
167 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
BiliSakura's picture
BiliSakura
Add files using upload-large-folder tool
77c266c verified about 21 hours ago
  • config.json
    842 Bytes
    Add files using upload-large-folder tool about 21 hours ago
  • diffusion_pytorch_model.safetensors
    167 MB
    xet
    Add files using upload-large-folder tool about 21 hours ago