-
First of all, thanks for this excellent library and it really helps. I am little bit confuse about the concept Ref_emb, the reason why I want to use it is the VICReg loss. I noticed that there is a paragraph on the website explaining this concept, but I still don't understand how to get the Ref_emb. For instance, I can get the embedding by apply the code like I would really appreciate it if you could explain the concept。 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The way VICReg works is that, if you have embeddings like you said:
You create an augmentation
where AUG is some augmentation function, then use the loss:
This In more abstract terms, let's say
We want the model to create a similar embedding for the original image and the flipped image, because we want our model to extract deeper information about the image than its trivial features (like the orientation of the image). Does that answer your question? |
Beta Was this translation helpful? Give feedback.
The way VICReg works is that, if you have embeddings like you said:
You create an augmentation
where AUG is some augmentation function, then use the loss:
This
AUG(data)
could be something like flipping the image, cropping the image, color jittering the image, and such, in the example of computer vision. The whole idea is that you want your model to produceaug_embs
as close as possible toembeddings
.In more abstract terms, let's say
data
is some RGB image. Then: