cartoonization resolution bug
genekogan opened this issue · comments
cartoonization resizes images to have resolution %2==0, need to account for odd-sized images.
from ml4a import image
from ml4a.models import cartoonization
img = image.load_image('https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/26114711/Shiba-Inu-standing-in-profile-outdoors.jpg')
img_toon = cartoonization.run(img)
image.display([img, img_toon])
fixed