GcGAN
GcGAN copied to clipboard
Typos in gc_cycle_gan_model.py
Hi, thanks a lot for sharing your excellent work.
I find there is a typo in gc_cycle_gan_model.py
rec_B = self.netG_AB(fake_A)
loss_cycle_B = self.criterionCycle(rec_B, self.real_B) * self.opt.lambda_AB
rec_gc_B = self.netG_BA(fake_gc_A)
loss_cycle_B += self.criterionCycle(rec_gc_B, self.real_gc_B) * self.opt.lambda_AB
should be
rec_gc_B = self.netG_AB(fake_gc_A)
I do not know whether it will influence the results.