dinov2
dinov2 copied to clipboard
the computation of the standard array for foreground/background separation.
Regarding the code below from the features notebook, the standard array, which was used to separate foreground/background, was loaded from a numpy file saved on the web. Can someone please advise how that standard array can be computed? It consists of a vector of 768 numbers.
``
Precomputed foreground / background projection
STANDARD_ARRAY_URL = "https://dl.fbaipublicfiles.com/dinov2/arrays/standard.npy" standard_array = load_array_from_url(STANDARD_ARRAY_URL)