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

PyTorch Inpaint node error #1592

Closed
noname8556 opened this issue Feb 23, 2023 · 2 comments · Fixed by #1596
Closed

PyTorch Inpaint node error #1592

noname8556 opened this issue Feb 23, 2023 · 2 comments · Fixed by #1596
Assignees
Labels
bug Something isn't working

Comments

@noname8556
Copy link

Information:

  • Chainner version: 0.18.0
  • OS: Manjaro, Windows 10

Description
Error occurs with PyTorch Inpaint Node on both Manjaro and Windows. PyTorch is used in CPU mode. The error also occurs with other images, but not always. Log files are attached.

overview
logs.zip

@noname8556 noname8556 added the bug Something isn't working label Feb 23, 2023
@theflyingzamboni
Copy link
Collaborator

Yeah, I meant to add padding to the preprocessing but forgot. LaMa requires images to be divisible by 8. That's why it only errors on some images. I'll fix that soon.

@joeyballentine
Copy link
Member

you should be able to re-use the padding code that's included with swinir, if you don't already have something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants