233630e79d79901faff420eb0ae481b35d952f97,models/pix2pix_model.py,Pix2PixModel,initialize,#Pix2PixModel#Any#,16

Before Change



            print("---------- Networks initialized -------------")
            networks.print_network(self.netG)
            networks.print_network(self.netD)
            print("-----------------------------------------------")

    def set_input(self, input):
        AtoB = self.opt.which_direction == "AtoB"

After Change



        print("---------- Networks initialized -------------")
        networks.print_network(self.netG)
        if self.isTrain:
            networks.print_network(self.netD)
        print("-----------------------------------------------")

    def set_input(self, input):
        AtoB = self.opt.which_direction == "AtoB"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: junyanz/pytorch-CycleGAN-and-pix2pix
Commit Name: 233630e79d79901faff420eb0ae481b35d952f97
Time: 2017-07-03
Author: junyanz@berkeley.edu
File Name: models/pix2pix_model.py
Class Name: Pix2PixModel
Method Name: initialize


Project Name: junyanz/pytorch-CycleGAN-and-pix2pix
Commit Name: c7f7d1979a35b443dba7e776203ed7084efecf77
Time: 2017-07-05
Author: junyanz@berkeley.edu
File Name: models/cycle_gan_model.py
Class Name: CycleGANModel
Method Name: initialize