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

Bug in loading aligned training data #222

Closed
hazirbas opened this issue Mar 14, 2018 · 3 comments
Closed

Bug in loading aligned training data #222

hazirbas opened this issue Mar 14, 2018 · 3 comments

Comments

@hazirbas
Copy link
Contributor

The following line will cause artifacts in the input (left edge) /output (right edge) as aligned image is upsampled with Bicubic interpolation:

AB = AB.resize((self.opt.loadSize * 2, self.opt.loadSize), Image.BICUBIC)

@junyanz
Copy link
Owner

junyanz commented Mar 17, 2018

Interesting. What is the size of your original image? What is the loadSize in your experiment? @ssnl might know the solution.

@ssnl
Copy link
Collaborator

ssnl commented Mar 17, 2018 via email

@junyanz
Copy link
Owner

junyanz commented Mar 18, 2018

That makes sense. Let me know if this commit will fix the issue. @hazirbas @ssnl

@junyanz junyanz closed this as completed Mar 23, 2018
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

3 participants