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

Time reducing #3

Open
siam009 opened this issue Oct 6, 2020 · 1 comment
Open

Time reducing #3

siam009 opened this issue Oct 6, 2020 · 1 comment

Comments

@siam009
Copy link

siam009 commented Oct 6, 2020

Is it possible to reduce time taken for inpainting?

@vacancy
Copy link
Owner

vacancy commented Oct 30, 2022

Almost any change that reduces the runtime will degrade the quality. Options are:

  1. just scale down your input image.
  2. use a smaller patch size (the example uses 5).
  3. use a less dense pyramid (it's somehow hardcoded in the c++ code so might be a bit hard to change)

There are some other options, e.g., use vector instruction sets to accelerate the code. But this is beyond the scope of this project, which is primarily for research purposes.

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