EinopsError: Error while processing rearrange-reduction pattern "b n (h d) -> b h n d".
timm 버전 문제였다.
timm==0.5.4로 재설치하면 해결된다.
RuntimeError: The size of tensor a (121) must match the size of tensor b (88) at non-singleton dimension 1
새로운 데이터를 입력할 때 발생하는 오류
기존의 정제된 이미지 데이터와 다르게 크기가 다양하기 때문에 padding을 해줘야 한다.
config에서 pad=true로 하는 방법도 있지만 미리 전처리 과정에서 padding하는 것이 더 속도가 빠르다.