Hangz-nju-cuhk / Talking-Face-Generation-DAVS

Code for Talking Face Generation by Adversarially Disentangled Audio-Visual Representation (AAAI 2019)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question about computing contrastive loss

Pixie8888 opened this issue · comments

Hi,
Why you use Variable(self.lip_embedding_norm.data) instead of direct use self.lip_embedding_norm here? And why denominator is 2*batch_size instead of batch_size^2?
image
image