01cc9670d67e6907935e1ea6da9ae4d3b2f312ee,hypergan/discriminators/pyramid_discriminator.py,PyramidDiscriminator,build,#PyramidDiscriminator#Any#,13

Before Change



            depth = filters + depth_increase
            if padding == "VALID":
                net = tf.image.resize_images(net, [ops.shape(net)[1]+2, ops.shape(net)[2]+2],1)
            net = config.block(self, net, depth, filter=config.filter or 3, padding=padding)
            net = self.normalize(net)

After Change


                filters = ops.shape(net)[3]
                depth = filters + depth_increase
                net = ops.conv2d(net, filter_size_w, filter_size_h, 1, 1, depth, padding=padding)
                print("depth", depth)
            else:
                net = ops.conv2d(net, filter_size_w, filter_size_h, 1, 1, output_features//(config.extra_layers_reduction or 1), padding=padding)
            //net = self.normalize(net)
            print("[discriminator] extra layer", net)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 01cc9670d67e6907935e1ea6da9ae4d3b2f312ee
Time: 2017-11-03
Author: martyn@255bits.com
File Name: hypergan/discriminators/pyramid_discriminator.py
Class Name: PyramidDiscriminator
Method Name: build


Project Name: HyperGAN/HyperGAN
Commit Name: 8a3148f6f973652500853e656274e65070edaf7e
Time: 2017-06-03
Author: martyn@255bits.com
File Name: hypergan/generators/resize_conv_generator.py
Class Name: ResizeConvGenerator
Method Name: depths


Project Name: HyperGAN/HyperGAN
Commit Name: c2b21cba9612f83bc2b9d7ef2a9c43da1fd4cbdb
Time: 2020-02-07
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_conv