Open niuwagege opened 4 years ago
in backward_g(),call self.netd() to get features. self.err_g_adv = self.l_adv(self.netd(self.input)[1], self.netd(self.fake)[1]) why not use self.feat_real and self.feat_fake that you get from forward_d() directly
self.err_g_adv = self.l_adv(self.netd(self.input)[1], self.netd(self.fake)[1])
in backward_g(),call self.netd() to get features.
self.err_g_adv = self.l_adv(self.netd(self.input)[1], self.netd(self.fake)[1])
why not use self.feat_real and self.feat_fake that you get from forward_d() directly