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">
|
| 5 |
+
🌦️ WeatherEdit: Controllable Weather Editing with 4D Gaussian Field
|
| 6 |
+
</h2>
|
| 7 |
+
<p align="center">
|
| 8 |
+
<em>
|
| 9 |
+
<a href="https://jumponthemoon.github.io/">Chenghao Qian</a><sup>1,*</sup>,
|
| 10 |
+
<a href="https://scholar.google.com/citations?user=uBjSytAAAAAJ&hl=en">Wenjing Li</a><sup>1,†</sup>,
|
| 11 |
+
<a href="https://example.com/guo">Yuhu Guo</a><sup>2</sup>,
|
| 12 |
+
<a href="https://scholar.google.com/citations?user=55G7VxoAAAAJ&hl=en">Gustav Markkula</a><sup>1</sup>
|
| 13 |
+
</em>
|
| 14 |
+
</p>
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
<p align="center">
|
| 18 |
+
<img src="https://github.com/user-attachments/assets/4483e88e-4552-4245-9c29-2c84abf78788" alt="image" width="390">
|
| 19 |
+
</p>
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
<p align="center">
|
| 24 |
+
<a href="https://arxiv.org/abs/2505.20471">
|
| 25 |
+
<img src="https://img.shields.io/badge/arXiv-article-red" alt="arXiv">
|
| 26 |
+
</a>
|
| 27 |
+
<a href="https://jumponthemoon.github.io/w-edit">
|
| 28 |
+
<img src="https://img.shields.io/badge/Project-link-blue" alt="Project">
|
| 29 |
+
</a>
|
| 30 |
+
</p>
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
<p align="center">
|
| 38 |
+
A <strong>Controllable</strong>, <strong>Scalable</strong> and <strong>Efficient</strong> Framework for <strong>Realistic Weather Editing.</strong>
|
| 39 |
+
</p>
|
| 40 |
+
<div align="center">
|
| 41 |
+
<img src="https://github.com/user-attachments/assets/b2b46e74-010d-4d80-a153-e4561668cc0f" width="800"/>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
<div align="center">
|
| 45 |
+
<img src="https://github.com/user-attachments/assets/e5b74e41-d25f-4a25-af42-99a95bcdb04e" width="800"/>
|
| 46 |
+
</div>
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
- 🎨 Flexible control over **weather types** (snow, fog, rain)
|
| 53 |
+
- 🌡️ Precise **weather severity** adjustment (light, moderate, heavy)
|
| 54 |
+
- 🖼️ **Global consistency** for multi-view driving scenes (temporal, spatial)
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## 💡 The Quickiest Start
|
| 59 |
+
You can use our provided pretrained model for the easiest start. If you would like to try the whole pipeline, please go to the subfolder for training instructions
|
| 60 |
+
### A. General Weather (`General Scene/`)
|
| 61 |
+
Please first configure the environment with conda:
|
| 62 |
+
```bash
|
| 63 |
+
git clone https://github.com/Jumponthemoon/WeatherEdit.git
|
| 64 |
+
cd General_Scene
|
| 65 |
+
conda env create --file environment.yml
|
| 66 |
+
conda activate gaussian_splatting
|
| 67 |
+
```
|
| 68 |
+
We provide a complete pipeline to train and render Gaussian scenes with integrated weather effects.
|
| 69 |
+
|
| 70 |
+
#### 1. Train Your Scene
|
| 71 |
+
Download the Dataset Pt.1 from [Mip-NeRF 360](https://jonbarron.info/mipnerf360/) and put the `garden` under `data` folder, then run:
|
| 72 |
+
```bash
|
| 73 |
+
python train.py -s path/to/data/
|
| 74 |
+
```
|
| 75 |
+
After training, the model will be saved under `output` folder
|
| 76 |
+
#### 2. Render with Weather Effects
|
| 77 |
+
|
| 78 |
+
```bash
|
| 79 |
+
python render.py -m path/to/model --weather snow --fps 10
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
🔥 **Plug into your GS-based code?** 👉 Check it out [here](https://github.com/Jumponthemoon/WeatherEdit/tree/main/General_Scene)
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
### B. Driving Scene Editing (`Driving_Scene/`)
|
| 87 |
+
Please first clone the repo and configure the environment with conda:
|
| 88 |
+
```bash
|
| 89 |
+
git clone https://github.com/Jumponthemoon/WeatherEdit.git
|
| 90 |
+
cd Driving_Scene
|
| 91 |
+
|
| 92 |
+
conda create -n weatheredit python=3.9 -y
|
| 93 |
+
conda activate weatheredit
|
| 94 |
+
|
| 95 |
+
pip install -r requirements.txt
|
| 96 |
+
pip install git+https://github.com/nerfstudio-project/gsplat.git@v1.3.0
|
| 97 |
+
pip install git+https://github.com/facebookresearch/pytorch3d.git
|
| 98 |
+
pip install git+https://github.com/NVlabs/nvdiffrast
|
| 99 |
+
|
| 100 |
+
cd third_party/smplx/
|
| 101 |
+
pip install -e .
|
| 102 |
+
cd ../..
|
| 103 |
+
```
|
| 104 |
+
* Note: if you encounter error `ImportError: cannot import name 'cached_download' from 'huggingface_hub'`, please follow [this](https://github.com/easydiffusion/easydiffusion/issues/1851#issuecomment-2425265522) instruction.
|
| 105 |
+
|
| 106 |
+
#### 1. Download sample dataset & pretrained model
|
| 107 |
+
```bash
|
| 108 |
+
cd particle_construction
|
| 109 |
+
```
|
| 110 |
+
Download [sample dataset](https://drive.google.com/file/d/18qwNg_VVcwiyliLW1eDq488lRe8mdnuX/view?usp=sharing) and [pretrained model](https://drive.google.com/file/d/1vXz_-tPkwEU61jFrke9Io044An1j4Bv4/view?usp=sharing), then place them in the `data` and the `output` directory separately.
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
#### 2. Render with Weather Effects
|
| 114 |
+
Run the script to generate rainy weather in pandaset:
|
| 115 |
+
```bash
|
| 116 |
+
export PYTHONPATH=$(pwd)
|
| 117 |
+
python tools/gen_particle.py --resume_from ./output/pandaset/44/checkpoint_final.pth --weather rainy
|
| 118 |
+
```
|
| 119 |
+
The rendered video will be saved under `./output/pandaset/44/video_eval` folder
|
| 120 |
+
|
| 121 |
+
> ⭐ **If you like our work or find it useful, please give us a star or cite below. Thanks!**
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
## 📌 Citation
|
| 128 |
+
|
| 129 |
+
```bibtex
|
| 130 |
+
@article{qian2025wedit,
|
| 131 |
+
title={WeatherEdit: Controllable Weather Editing with 4D Gaussian Field},
|
| 132 |
+
author={Chenghao Qian and Wenjing Li and Yuhu Guo and Gustav Markkula},
|
| 133 |
+
year={2025},
|
| 134 |
+
eprint={2505.20471},
|
| 135 |
+
archivePrefix={arXiv},
|
| 136 |
+
primaryClass={cs.CV},
|
| 137 |
+
url={https://arxiv.org/abs/2505.20471},}
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
## 📬 Contact
|
| 143 |
+
|
| 144 |
+
For questions, suggestions, or collaborations:
|
| 145 |
+
|
| 146 |
+
- 📧 tscq@leeds.ac.uk
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
Thanks for your interest in WeatherEdit! We hope it helps bring new life to your 3D scenes 🌧️🌨️🌫️
|