In the "official" Depth Anything repo, the preprocessing transform maintains input image's aspect ratio (link):
keep_aspect_ratio=True,
In this repo, the aspect ratio is not maintained (link):
keep_aspect_ratio=False,
My question - is there any particular reason to do say keep_aspect_ratio=False in this repo? Was that done for performance measurement reasons?
The model seems to work fine when I set keep_aspect_ratio to True (I tested this, the image fed to the model indeed maintains the original input image's aspect ratio).
In the "official" Depth Anything repo, the preprocessing transform maintains input image's aspect ratio (link):
In this repo, the aspect ratio is not maintained (link):
My question - is there any particular reason to do say
keep_aspect_ratio=False
in this repo? Was that done for performance measurement reasons?The model seems to work fine when I set
keep_aspect_ratio
toTrue
(I tested this, the image fed to the model indeed maintains the original input image's aspect ratio).