Closed u1nderdog closed 1 month ago
DinoV2 has been trained with a patch size of 14, is not possible to load a model with a different patch size, unless you train it by scratch, for that reason your image size should also be a multiple of 14.
DinoV2 has been trained with a patch size of 14, is not possible to load a model with a different patch size, unless you train it by scratch, for that reason your image size should also be a multiple of 14.
Thanks a lot
The error message is displayed:
assert H % patch_H == 0, f"Input image height {H} is not a multiple of patch height {patch_H}" AssertionError: Input image height 320 is not a multiple of patch height 14