facebookresearch / dinov2

PyTorch code and models for the DINOv2 self-supervised learning method.
Apache License 2.0
8.79k stars 763 forks source link

Get visualization of the three first principal components #452

Open ramdhan1989 opened 1 month ago

ramdhan1989 commented 1 month ago

Hi, I would like to build a video like in this repo with the caption of "Visualization of the three first principal components of the patch features of all frames, mapped to RGB values". Can anyone explain how to build this visualization? if the code is available, it would be helpful.

thank you regards

baldassarreFe commented 1 month ago

This previous issue with the linked notebook and PR should point you in the right direction https://github.com/facebookresearch/dinov2/issues/412