Diagonal masked replacement is filled with -10.0 instead of exp(-10.0)
fsalmasri opened this issue · comments
Feras Almasri commented
l_neg_curbatch.masked_fill_(diagonal, -10.0)
Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)
fsalmasri opened this issue · comments
l_neg_curbatch.masked_fill_(diagonal, -10.0)