30dfa316d689a232c2e6deaa813827be52aba961,niftynet/network/simulator_gan.py,ImageGenerator,layer_op,#ImageGenerator#Any#Any#Any#Any#,35

Before Change


        conditioning_channels = conditioning.get_shape().as_list()[
                                    -1] + add_noise if conditioning is not None else add_noise

        w_init = self.initializers["w"]
        b_init = self.initializers["b"]
        ch = [512]
        sz = [image_size[:-1]]
        keep_prob_ph = 1  // not passed in as a placeholder

After Change


            if add_noise:
                feature_shape = g_h5.get_shape().as_list()[0:-1]
                noise_shape = feature_shape + [add_noise]
                noise = tf.random_normal(noise_shape, 0, .1)
                g_h5 = tf.concat([g_h5, noise], axis=3)
            conv_layer = ConvolutionalLayer(
                n_output_chns=1,
                kernel_size=3,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: 30dfa316d689a232c2e6deaa813827be52aba961
Time: 2017-09-12
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/network/simulator_gan.py
Class Name: ImageGenerator
Method Name: layer_op


Project Name: HyperGAN/HyperGAN
Commit Name: 9ae3f7ec8f064f4d0fbf84d23455a8039bcbb390
Time: 2016-10-21
Author: martyn.garcia@gmail.com
File Name: shared/gan.py
Class Name:
Method Name: discriminator_pyramid


Project Name: NifTK/NiftyNet
Commit Name: a4b1242ba2567d02950e0a106d0fa4d6707389d8
Time: 2017-08-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/gan_application.py
Class Name: GANApplication
Method Name: connect_data_and_network