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

Keeping same aspect ration in output #1

Open
ofirkris opened this issue Dec 6, 2020 · 8 comments
Open

Keeping same aspect ration in output #1

ofirkris opened this issue Dec 6, 2020 · 8 comments

Comments

@ofirkris
Copy link

ofirkris commented Dec 6, 2020

Hi, great work!
This is looks better than APDrawingGAN2 and U-2-Net.
Can you alter the code so it keeps the original aspect ratio and resolution for output image?

@vijishmadhavan
Copy link
Owner

Sure, I will do that 👍👍

@vijishmadhavan
Copy link
Owner

Thank you 😊😊

@Vyviel
Copy link

Vyviel commented Dec 11, 2020

Would it also be possible to get higher resolution output files?

@vijishmadhavan
Copy link
Owner

Check it now, I have added a new colab link.

@ofirkris
Copy link
Author

ofirkris commented Dec 13, 2020

Thanks!
Though I'm trying to test the new Colab - and am still get the image in wrong aspect ratio
Input: 329 × 512
Output: 516 × 375

Input image:
image

Output:
image

When I pre-process the image to a square input it works better - though it's still getting squeezed:
image

@YukiSakuma
Copy link

@vijishmadhavan
I input a high resolution image but the output is clipped (cropped at sides). How to maintain the full picture in the output?

@akenmorris
Copy link

Check it now, I have added a new colab link.

Very nice work! So this makes the outputs 650x650 (up from 500x500)? What would it take to get something like 2000x2000?

@vijishmadhavan
Copy link
Owner

vijishmadhavan commented Jan 20, 2021 via email

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

5 participants