I can now confirm that the size tuple is height by width.
I figured it out by trying display images
But I still would like to know how to find it through the source code, as finding something through source code will be the daily routine for me to find out my answer quickly in a self-serve manner.
I would like to know the tuple for size parameter, whether it is
width , height
I have been swimming in the source code sea and found myself drowning…
here is my digging path:
ImageDataBunch.from_folder() -> create_from_ll() -> lls.transform(…size=size…) -> self.train.transform(tfms, **kwargs) -> I found self.train is ItemList
so I tried to find the self.train.transform(tfms, **kwargs) in the Class ItemList and found nothing…