Views
No views yet
Photography is the art of painting with light, yet nighttime scenes are shaped by competing degradations: intense flares obscure scene structure, while photon-limited regions collapse into noise. Conventional approaches address these factors in isolation, overlooking the fact that these degradations are fundamentally entangled. LUCID reframes nighttime restoration as a continuous and controllable process rather than a fixed correction, restoring challenging nighttime images with flexible control over exposure, light sources, flare, and ghosting artifacts.
| File | Description |
|---|---|
LUCID_main/model_40000.pkl | Main LUCID restoration checkpoint |
Flare_Disentangle/latest.pth | Flare disentanglement network checkpoint |
1git clone https://github.com/frakenation/LUCID.git
2cd LUCID1git lfs install
2git clone https://huggingface.co/Unswear/LUCID lucid_weights1python -m src.inference \
2 --input_dir ./data/test/input \
3 --pretrained_model_name_or_path stabilityai/sd-turbo \
4 --model_path ./lucid_weights/LUCID_main/model_40000.pkl \
5 --flare_disentanglement_path ./lucid_weights/Flare_Disentangle/latest.pth \
6 --output_dir ./results/lucid \
7 --resolution 512 \
8 --timestep 199 \
9 --ms_unet \
10 --inference_mode cfg_guidance \
11 --cfg_scale 1.05 \
12 --device cudasrc.inference_cfg_index or the provided shell scripts in the GitHub repository.