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 scheduler/scheduler_config.json from BiliSakura/MMDiff-diffusers: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/BiliSakura/MMDiff-diffusers/resolve/main/scheduler/scheduler_config.json
- Command line
-
hf download hf://BiliSakura/MMDiff-diffusers/scheduler/scheduler_config.json
-
curl -L -o scheduler_config.json https://huggingface.co/BiliSakura/MMDiff-diffusers/resolve/main/scheduler/scheduler_config.json
379 Bytes
| { | |
| "_class_name": "DDIMScheduler", | |
| "_diffusers_version": "0.32.0.dev0", | |
| "beta_end": 0.012, | |
| "beta_schedule": "scaled_linear", | |
| "beta_start": 0.00085, | |
| "clip_sample": false, | |
| "num_train_timesteps": 1000, | |
| "prediction_type": "epsilon", | |
| "set_alpha_to_one": false, | |
| "skip_prk_steps": true, | |
| "steps_offset": 1, | |
| "timestep_spacing": "leading", | |
| "trained_betas": null | |
| } | |