[TCSVT]: Multi-Frame Rolling Shutter Correction with Diffusion Models
To train and test the models, please first download the datasets:
- Download Fastec and Carla datasets from the repositories:
- and download the BSRSC dataset from the same repository above.
Download the pretrained model checkpoints from Google Drive.
Run the following command to generate samples from the MDM model:
python -m script.sample_mdm --config configs/MDM/fastec_sample-MDM.yaml
Run the following command to generate samples from the ODM model:
python -m script.sample_odm --config configs/ODM/fastec_sample_ODM.yaml
Run the following command to train the MDM model:
python -m script.train_mdm --config DM-RSC/configs/MDM/fastec_train_MDM.yamlRun the following command to train the ODM model:
python -m script.train_odm --config DM-RSC/configs/ODM/fastec_train_ODM.yamlDownload supplementary materials from Google Drive.
Refer to the supplementary.zip archive for comparison GIF and additional results.