Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pretrain model to deblur my images #2

Open
SYuan-X opened this issue Nov 10, 2023 · 1 comment
Open

use pretrain model to deblur my images #2

SYuan-X opened this issue Nov 10, 2023 · 1 comment

Comments

@SYuan-X
Copy link

SYuan-X commented Nov 10, 2023

Hi, author. Your work is really excellent, and I am particularly interested in applying the code provided in the paper to my own set of images by using your pretrained model. Could you please provide some guidance about how to convert my own data into the format of input data and use the pretrained model to deblur?

Thank you very much for your time and consideration.

@XiangZ-0
Copy link
Owner

Hi, thanks for your interest in our work. The training and testing data formats are the same in our works. I recommend converting your data to the format like our MS-RBD dataset (you can also check the npz files in our released datasets for details), and then modify the configuration files here, e.g., msrbd_test.yaml. For testing, you only need to modify the following parameters according to your settings:

load_dir: checkpoint/MS-RBD # change it to your path to load checkpoints
root_path: datasets/MS-RBD # change it to your dataset directory
save_path: results/MS-RBD # change it to your result directory
scale_factor: 4 # change it according to the spatial resolution ratio of images over events in your dataset

Then it should work. Hope this helps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants