Mismatch in image preprocessor parameters

#7
by mwcampbell - opened

I noticed that the image preprocessor is configured to resize the image such that the shortest edge is 256 pixels, but then crop the image to 224x224. Is this deliberate? In other words, is it intended that part of the image will always be cut off even along the shortest edge?

Hi,

I took this from the original implementation, which can be found here: https://github.com/facebookresearch/dinov2/blob/main/dinov2/data/transforms.py#L77

Sign up or log in to comment