https://note.com/kohya_ss/n/nee3ed1649fb6#d9c4ec3f-f125-4f96-a368-daa9bb8cd1fa


토큰 패딩 및 이미지 전처리 구현.

여러가지 종횡비에 대응.


Colab으로 구현된 것은 https://colab.research.google.com/gist/thx-pw/7e8a8ecda5f6649d81bd5202ce8e6a21/dreambooth_stable_diffusion_fixed.ipynb


소스코드 살펴보고 있는데, 일단 학습 자료하고 정규화 이미지 경로를 구글 드라이브로 호환시키는 작업이 필요할 거 같다...

이미지 업로드 하는 게 너무 느려서 문제임.