Downloads · 30 days
0
JiayiWuLeo/WaterGen
WaterGen is a text-to-image model from JiayiWuLeo. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
[](https://tianfwang.github.io/watergen/)
Downloads · 30 days
0
Access
Public
Updated Sep 10, 2026
Repo size
981 MB
Likes
0
Public
Click a slice to open those files.
.pth897 MB · 92%
From the Hugging Face model README
Jiayi Wu<sup>1,</sup>, Tianfu Wang<sup>1,</sup>, Tianyi Xiong<sup>1</sup>, Dehao Yuan<sup>1</sup>, Xiaomin Lin<sup>2</sup>, Md Jahidul Islam<sup>3</sup>, Cornelia Fermüller<sup>1</sup>, Christopher Metzler<sup>1</sup>, Yiannis Aloimonos<sup>1</sup>
<sup>1</sup>University of Maryland · <sup>2</sup>University of South Florida · <sup>3</sup>University of Florida
<sup>*</sup>Equal contribution
WaterGen generates diverse underwater images while independently controlling scene content and physical water-medium effects. A LoRA-adapted diffusion backbone first synthesizes a clean underwater scene latent; a medium-conditioned decoder then applies attenuation, scattering, and background light. The same scene can be rendered under many water conditions without changing geometry, producing paired clean/degraded images for downstream restoration and segmentation.

WaterGen treats underwater generation as two separate controls: what is in the image and what the water does to the image. Existing methods typically entangle these factors, so changing water color or turbidity often alters object layout. WaterGen avoids this by decoupling the two stages. A LoRA-adapted SDXL backbone generates a clean underwater scene latent from a text prompt, and a medium-conditioned decoder applies physically meaningful attenuation and backscattering according to specified water parameters.
This decoupled design lets a single generated scene be rendered under many water types without changing the underlying geometry. The resulting aligned clean/degraded pairs can be used as synthetic training data for underwater restoration and semantic segmentation.
This repository contains the inference checkpoints used to reproduce the results shown on the project page.
stage1/
└── pytorch_lora_weights.safetensors # SDXL LoRA for clean scene generation (rank 32, α 16)
stage2/
└── model.pth # medium-conditioned decoder
Refer to the code repository for loading and inference instructions.
@inproceedings{wu2026watergen,
title={WaterGen: Decoupling Scene and Medium in Underwater Image Generation},
author={Wu, Jiayi and Wang, Tianfu and Xiong, Tianyi and Yuan, Dehao and Lin, Xiaomin and Islam, Md Jahidul and Fermuller, Cornelia and Metzler, Christopher and Aloimonos, Yiannis},
booktitle={European Conference on Computer Vision (ECCV)},
year={2026}
}