Diffusers
Safetensors

Run this model with HF Jobs

Run EVER-Z/NeDS on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/EVER-Z/NeDS. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/EVER-Z/NeDS on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Diffusers library
# Gated model: Login with a HF token with gated access permission
hf auth login
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("EVER-Z/NeDS", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

This model is released for research and educational purposes only. Access to the model is granted upon agreement to use it ethically, responsibly, and in compliance with the stated license (CC BY-NC 4.0).

Log in or Sign Up to review the conditions and access this model content.

NeDS Model Card (RSE 2025)

This repository hosts a NeDS (Neural disaster simulation for transferable building damage assessment) checkpoint trained on xView2 tier3 with 512x512 crops.

Default: follow the official implementation

For the primary and recommended workflow, follow the official NeDS codebase:

  • Official repo: https://github.com/Z-Zheng/pytorch-change-models
  • NeDS model source there: torchange/models/neds.py

If you are reproducing paper behavior or training/evaluation procedures, use the official repository first.

Extra in this repo: Diffusers quick start

In addition to the official path, this folder provides a self-contained Diffusers demo that does not require importing pytorch-change-models.

Included files:

  • neds_diffusers.py: custom NeDS + NeDSPipeline for Diffusers
  • infer_neds.py: end-to-end inference script
  • converted controlnet checkpoints:
    • nds_v1_tier3_512_diffusers_bf16
    • nds_v1_tier3_512_diffusers_fp32

The demo loads through native Diffusers DiffusionPipeline.from_pretrained(...) with custom_pipeline.

Quick start (DiffusionPipeline demo)

import torch
from pathlib import Path
from diffusers import DiffusionPipeline
from neds_diffusers import NeDS

dtype = torch.bfloat16
controlnet = NeDS.from_pretrained("./nds_v1_tier3_512_diffusers_bf16", torch_dtype=dtype)

pipe = DiffusionPipeline.from_pretrained(
    "sd2-community/stable-diffusion-2-1",
    custom_pipeline=str(Path("neds_diffusers.py").resolve()),
    controlnet=controlnet,
    torch_dtype=dtype,
    safety_checker=None,
    requires_safety_checker=False,
).to("cuda")

# See infer_neds.py for complete preprocessing and call arguments.

Citation

@article{zheng2025neural,
  title={Neural disaster simulation for transferable building damage assessment},
  author={Zheng, Zhuo and Zhong, Yanfei and Wan, Zijing and Zhang, Liangpei and Ermon, Stefano},
  journal={Remote Sensing of Environment},
  volume={331},
  pages={114979},
  year={2025},
  publisher={Elsevier},
  doi = {https://doi.org/10.1016/j.rse.2025.114979},
  url = {https://www.sciencedirect.com/science/article/pii/S0034425725003839},
}
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support