dinov2 icon indicating copy to clipboard operation
dinov2 copied to clipboard

the computation of the standard array for foreground/background separation.

Open AHammoudeh opened this issue 9 months ago • 3 comments

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)

AHammoudeh avatar Sep 18 '23 02:09 AHammoudeh