defensegan icon indicating copy to clipboard operation
defensegan copied to clipboard

WGAN-GP loss function : Equation is not same as presented in WGAN-GP paper

Open shubham-malaviya opened this issue 6 years ago • 0 comments

In Model/gan.py line #177 and #178 :

differences = self.fake_data - self.real_data interpolates = self.real_data + (alpha * differences)

According to my understanding of WGAN-GP paper interpolates should be interpolates = self.fake_data + (alpha * differences) and differences should be differences = self.real_data - self.fake_data

is my understanding right? please correct me if I'm wrong.

shubham-malaviya avatar Feb 16 '19 05:02 shubham-malaviya