ArtLine icon indicating copy to clipboard operation
ArtLine copied to clipboard

Keeping same aspect ration in output

Open ofirkris opened this issue 4 years ago • 8 comments

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?

ofirkris avatar Dec 06 '20 13:12 ofirkris

Sure, I will do that 👍👍

vijishmadhavan avatar Dec 06 '20 14:12 vijishmadhavan

Thank you 😊😊

vijishmadhavan avatar Dec 06 '20 14:12 vijishmadhavan

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

Vyviel avatar Dec 11 '20 09:12 Vyviel

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

vijishmadhavan avatar Dec 13 '20 16:12 vijishmadhavan

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

ofirkris avatar Dec 13 '20 20:12 ofirkris

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

YukiSakuma avatar Dec 18 '20 21:12 YukiSakuma

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?

akenmorris avatar Dec 22 '20 20:12 akenmorris

Check my new project Toon-Me.

https://github.com/vijishmadhavan/Toon-Me

On Wed, 23 Dec, 2020, 1:56 am Alan Morris, [email protected] wrote:

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?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vijishmadhavan/ArtLine/issues/1#issuecomment-749759906, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVUYPN4KQ54FCHNW56XSM3SWD6IRANCNFSM4UPKUQRA .

vijishmadhavan avatar Jan 20 '21 08:01 vijishmadhavan