Downloads · 30 days
0
kdh2b/Exposure-slot
Exposure-slot is a machine learning model from kdh2b. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<p align="center" <h1 align="center"Exposure-slot: Exposure-centric representations learning with Slot-in-Slot Attention for Region-aware Exposure Correction (Official)</h1
Downloads · 30 days
0
Access
Public
Updated Sep 2, 2025
Repo size
779 KB
Likes
0
Public
Click a slice to open those files.
.txt5.3 MB · 86%
From the Hugging Face model README
This repository contains the official PyTorch implementation of "Exposure-slot: Exposure-centric representations learning with Slot-in-Slot Attention for Region-aware Exposure Correction" accepted at CVPR 2025.
<div align="center"> <img src="images/concept_figure.png" width="500px" /> </div>Exposure-slot is the first approach to leverage Slot Attention mechanism for optimized exposure-specific feature partitioning. We introduce the slot-in-slot attention that enables sophisticated feature partitioning and learning and exposure-aware prompts that enhance the exposure-centric characteristics of each image feature.
Our proposing method is the first approach to leverage Slot Attention mechanism for optimized exposure-specific feature partitioning. We introduce the slot-in-slot attention that enables sophisticated feature partitioning and learning and exposure-aware prompts that enhance the exposure-centric characteristics of each image feature. We provide validation code, training code, and pre-trained weights on three benchmark datasets (MSEC, SICE, LCDP).
Please follow these steps to set up the repository.
git clone https://github.com/kdhRick2222/Exposure-slot.git
cd Exposure-slot
We utilize pre-trained models from Exposure-slot_ckpt.zip.
ckpt/ directory.For training and validating our model, we used SICE, MSEC, and LCDP dataset.
We downloaded the SICE dataset from here.
python prepare_SICE.py
Make .Dataset_txt/SICE_Train.txt and .Dataset_txt/SICE_Test.txt for validation and training.
We downloaded the MSEC dataset from here.
python prepare_MSEC.py
Make .Dataset_txt/MSEC_Train.txt and .Dataset_txt/MSEC_Test.txt for validation and training.
We downloaded the LCDP dataset from here.
python prepare_LCDP.py
Make .Dataset_txt/LCDP_Train.txt and .Dataset_txt/LCDP_Test.txt for validation and training.
We provide 2-level and 3-level Exposure-slot model for each dataset (SICE, MSEC, LCDP).
python test.py --level=2 --dataset="MSEC"
python train.py --gpu_num=0 --level=2 --dataset="MSEC"
├── ckpts
│ ├── LCDP_level2.pth
│ ├── LCDP_level3.pth
│ ├── MSEC_level2.pth
│ ├── MSEC_level3.pth
│ ├── SICE_level2.pth
│ └── SICE_level3.pth
│
├── config
│ ├── basic.py
│
├── data
│ ├── dataloaders.py
│ └── datasets.py
|
├── Dataset_txt
│ ├── LCDP_Train.txt
│ ├── LCDP_Test.txt
│ ├── MSEC_Train.txt
│ ├── MSEC_Test.txt
│ ├── SICE_Train.txt
│ └── SICE_Test.txt
|
├── utils
│ ├── scheduler_util.py
│ └── util.py
|
├── network_level2.py
├── network_level3.py
├── prepare_LCDP.py
├── prepare_MSEC.py
├── prepare_SICE.py
├── test.py
└── train.py
If you find our work useful in your research, please cite:
@inproceedings{jung2025Exposureslot,
title={Exposure-slot: Exposure-centric representations learning with Slot-in-Slot Attention for Region-aware Exposure Correction},
author={Donggoo Jung, Daehyun Kim, Guanghui Wang, Tae Hyun Kim},
booktitle={Computer Vision and Pattern Recognition (CVPR)},
year={2025}
}