Fixing Unsupervised Hyperbolic Contrastive Loss [D]
About this article
Hello all, I am trying to implement Unsupervised Hyperbolic Contrastive Loss on the ImageNet-1k dataset. My results show that simple Euclidean unsupervised contrastive loss is much better than the hyperbolic version. Please help me understand the problem. I am using expmap() and projx() to ensure the embedding is on the Lorentzian manifold. Below is my code - def hb_contrastive_loss(z, z1, model, temp=0.07): z_to_neighbor = model.manifold.dist(z.unsqueeze(1), z1.unsqueeze(0)) labels = torch.a...
You've been blocked by network security.To continue, log in to your Reddit account or use your developer tokenIf you think you've been blocked by mistake, file a ticket below and we'll look into it.Log in File a ticket