Skip to content

[CVPR 2024] WaveMo: Learning Wavefront Modulations to See Through Scattering

Notifications You must be signed in to change notification settings

mingyangx/wavemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WaveMo: Learning Wavefront Modulations to See Through Scattering

​ Code for the CVPR 2024 paper "WaveMo: Learning Wavefront Modulations to See Through Scattering".
Project Page | PDF | arXiv | YouTube

Installation

We test our code with Torch 2.3.1 and CUDA 12.4.1 on a NVIDIA RTX A6000 GPU. Please follow these steps to set up the environment:

conda create -n wavemo python=3.8.11
conda activate wavemo
pip install -r requirements.txt

Dataset

We use Places365 as our training dataset. Please acquire it from http://places2.csail.mit.edu/download.html. You can also use other image datasets for training.

Learn Wavefront Modulations

Please run the following command to learn wavefront modulation patterns.

python main.py --training_data_dir DATASET_DIRECTORY --batch_size 32

If you have a Weights & Biases account and want to log your training results onto it, please run

python main.py --training_data_dir DATASET_DIRECTORY --batch_size 32 --use_wandb

Apply Learned Wavefront Modulations to Real Experiments

You need to first set up the optical system as described in Section 6 of our paper. Then you can load the learned modualtions onto the spatial light modulator to modulate the measurements. To reconstruct the target, we recommend to use the unsupervised iterative approach proposed by Feng et al., the code of which is available at https://github.com/Intelligent-Sensing/NeuWS.

Contact

For general questions of this project, please raise an issue here or contact Mingyang Xie at [email protected]. For questions related to setting up the optical system, please contact Haiyun Guo at [email protected].

About

[CVPR 2024] WaveMo: Learning Wavefront Modulations to See Through Scattering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages