BiliSakura / RS-Painter-Diffusers

huggingface.co
Total runs: 53
24-hour runs: 0
7-day runs: 0
30-day runs: 53
Model's Last Updated: February 01 2026
image-to-image

Introduction of RS-Painter-Diffusers

Model Details of RS-Painter-Diffusers

RS-Painter-Diffusers

RS-Painter-Diffusers

Tackling Few-Shot Segmentation in Remote Sensing via Inpainting Diffusion Model

Paper License

ICLR Machine Learning for Remote Sensing Workshop, 2025 (Best Paper Award)

Model Description

RS-Painter is an image-conditioned diffusion-based approach for creating diverse sets of novel-class samples for semantic segmentation in few-shot settings in the remote sensing domain. By ensuring semantic consistency using cosine similarity between the generated samples and the conditioning image, and using the Segment Anything Model (SAM) to obtain precise segmentation, this method can train off-the-shelf segmentation models with high-quality synthetic data, significantly improving performance in low-data scenarios.

This model is compatible with the Hugging Face diffusers library and can be used with StableDiffusionInpaintPipeline .

Quick Start
from diffusers import StableDiffusionInpaintPipeline
from PIL import Image

# Load pipeline
pipeline = StableDiffusionInpaintPipeline.from_pretrained(
    "BiliSakura/RS-Painter-Diffusers",
    safety_checker=None,
    requires_safety_checker=False,
)

# Load image and mask
image = Image.open("input_image.png").convert("RGB")
mask = Image.open("mask.png").convert("L")

# Generate
result = pipeline(
    prompt="a beautiful landscape",
    image=image,
    mask_image=mask,
    num_inference_steps=50,
)

# Save result
result.images[0].save("output.png")
Citation

If you use this model in your research, please cite:

@article{2025rspaint,
  title={Tackling Few-Shot Segmentation in Remote Sensing via Inpainting Diffusion Model},
  author={Immanuel, Steve Andreas and Cho, Woojin and Heo, Junhyuk and Kwon, Darongsae},
  journal={arXiv preprint arXiv:2503.03785},
  year={2025}
}

Runs of BiliSakura RS-Painter-Diffusers on huggingface.co

53
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
53
30-day runs

More Information About RS-Painter-Diffusers huggingface.co Model

More RS-Painter-Diffusers license Visit here:

https://choosealicense.com/licenses/apache-2.0

RS-Painter-Diffusers huggingface.co

RS-Painter-Diffusers huggingface.co is an AI model on huggingface.co that provides RS-Painter-Diffusers's model effect (), which can be used instantly with this BiliSakura RS-Painter-Diffusers model. huggingface.co supports a free trial of the RS-Painter-Diffusers model, and also provides paid use of the RS-Painter-Diffusers. Support call RS-Painter-Diffusers model through api, including Node.js, Python, http.

RS-Painter-Diffusers huggingface.co Url

https://huggingface.co/BiliSakura/RS-Painter-Diffusers

BiliSakura RS-Painter-Diffusers online free

RS-Painter-Diffusers huggingface.co is an online trial and call api platform, which integrates RS-Painter-Diffusers's modeling effects, including api services, and provides a free online trial of RS-Painter-Diffusers, you can try RS-Painter-Diffusers online for free by clicking the link below.

BiliSakura RS-Painter-Diffusers online free url in huggingface.co:

https://huggingface.co/BiliSakura/RS-Painter-Diffusers

RS-Painter-Diffusers install

RS-Painter-Diffusers is an open source model from GitHub that offers a free installation service, and any user can find RS-Painter-Diffusers on GitHub to install. At the same time, huggingface.co provides the effect of RS-Painter-Diffusers install, users can directly use RS-Painter-Diffusers installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

RS-Painter-Diffusers install url in huggingface.co:

https://huggingface.co/BiliSakura/RS-Painter-Diffusers

Url of RS-Painter-Diffusers

RS-Painter-Diffusers huggingface.co Url

Provider of RS-Painter-Diffusers huggingface.co

BiliSakura
ORGANIZATIONS

Other API from BiliSakura

huggingface.co

Total runs: 132
Run Growth: 97
Growth Rate: 74.62%
Updated:February 16 2026
huggingface.co

Total runs: 22
Run Growth: -21
Growth Rate: -95.45%
Updated:February 16 2026
huggingface.co

Total runs: 18
Run Growth: 11
Growth Rate: 61.11%
Updated:March 09 2026
huggingface.co

Total runs: 7
Run Growth: -19
Growth Rate: -271.43%
Updated:March 09 2026
huggingface.co

Total runs: 3
Run Growth: -5
Growth Rate: -250.00%
Updated:March 09 2026
huggingface.co

Total runs: 2
Run Growth: -6
Growth Rate: -200.00%
Updated:March 09 2026