스타일 트랜스퍼
이미지 불러오기
from PIL import Image
import numpy as np
content = Image.open('dog.jpg')
style = Image.open('kandinsky.jpg')
크기 계산
w, h = content.size
h = int(h / (w / 512))
크기 변경
content = content.resize((512, h))
style = style.resize((512, h))
content
style