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

Inference single image by using pretrained checkpoints? #5

Open
kerberosargos opened this issue Jun 25, 2024 · 1 comment
Open

Inference single image by using pretrained checkpoints? #5

kerberosargos opened this issue Jun 25, 2024 · 1 comment

Comments

@kerberosargos
Copy link

Hello thank you for your great job.

I have a question. is there any way to inference single image by using pretrained checkpoints?

Thank you in advance for your support.

@Giordano-Cicchetti
Copy link
Collaborator

Hi, and sorry for the late reply. Thank you for the question.
Unfortunately, we have not provided a pipeline for direct inference of a single image. However, you can follow the instructions in the README file to install the dependencies and download the pretrained models. Then you can store the test image in a folder and reference that folder within the configuration file (Binarization/conf.yml or Deblurring/conf.yml)
In addition, it is necessary to specify, within the configuration file, MODE=0.
Once all the parameters have been set, simply run the command python main.py --config Binarization/conf.yml or python main.py --config Deblurring/conf.yml

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