0d9041399db426de2be44dd3c1a95fefd5708db7,hypergan/train_hooks/progress_compress_kbgan_train_hook.py,KBGAN,create,#KBGAN#,37

Before Change


            self.discriminator = self.create_component(config.discriminator, name="discriminator", input=d_input)
            self.loss = self.create_component(config.loss, discriminator=self.discriminator)
            self.trainer = self.create_component(config.trainer)
            self.session.run(tf.global_variables_initializer())

    def create_generator(self, latent, reuse=False):
        return self.create_component(self.config.generator, name="generator", input=latent, reuse=reuse)

After Change


            self.discriminator = self.create_component(config.discriminator, name="discriminator", input=d_input)
            self.loss = self.create_component(config.loss, discriminator=self.discriminator)
            self.trainer = self.create_component(config.trainer)
            self.initialize_variables()

    def create_generator(self, latent, reuse=False):
        return self.create_component(self.config.generator, name="generator", input=latent, reuse=reuse)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 0d9041399db426de2be44dd3c1a95fefd5708db7
Time: 2019-08-22
Author: mikkel@255bits.com
File Name: hypergan/train_hooks/progress_compress_kbgan_train_hook.py
Class Name: KBGAN
Method Name: create


Project Name: HyperGAN/HyperGAN
Commit Name: 0d9041399db426de2be44dd3c1a95fefd5708db7
Time: 2019-08-22
Author: mikkel@255bits.com
File Name: hypergan/gans/standard_gan.py
Class Name: StandardGAN
Method Name: create


Project Name: HyperGAN/HyperGAN
Commit Name: 0d9041399db426de2be44dd3c1a95fefd5708db7
Time: 2019-08-22
Author: mikkel@255bits.com
File Name: hypergan/gans/experimental/multi_generator_gan.py
Class Name: MultiGeneratorGAN
Method Name: create


Project Name: HyperGAN/HyperGAN
Commit Name: 0d9041399db426de2be44dd3c1a95fefd5708db7
Time: 2019-08-22
Author: mikkel@255bits.com
File Name: hypergan/gans/distribution_filtering_gan.py
Class Name: DistributionFilteringGAN
Method Name: create