Text-to-Image
Diffusers
Safetensors
English
MMDiffPipeline
remote-sensing
optical
sar
infrared
multimodal
lora
stable-diffusion
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
Download demo/opt/demo.png from BiliSakura/MMDiff-diffusers: direct link, hf CLI and curl.
- Browser
- Download file 98.4 kB
-
https://huggingface.co/BiliSakura/MMDiff-diffusers/resolve/main/demo/opt/demo.png
- Command line
-
hf download hf://BiliSakura/MMDiff-diffusers/demo/opt/demo.png
-
curl -L -o demo.png https://huggingface.co/BiliSakura/MMDiff-diffusers/resolve/main/demo/opt/demo.png
98.4 kB
