3159bd786503bf40f622c66d5044970bbee50b02,hypergan/generators/resize_conv.py,,generator,#Any#Any#,5

Before Change


        net = block_conv(net, activation, batch_size, "identity", "g_layers_"+str(i), output_channels=layers, filter=fltr, batch_norm=batch_norm, noise_shape=noise)
        if(net.get_shape()[3] != 3):
            // TODO: shared amongst generators?  Hide behind config?
            reshaped_z_proj = tf.reshape(z_proj, [config["batch_size"], resized_wh[0], resized_wh[1], -1])
            net = tf.concat(3, [net, reshaped_z_proj])

        if(i == depth-1):

After Change


            noise = [s[0],resized_wh[0],resized_wh[1],2**(depth-i)]
        else:
            noise = None
        net = tf.image.resize_images(net, [resized_wh[0], resized_wh[1]], 1)
        fltr = 3
        if fltr > net.get_shape()[1]:
            fltr=int(net.get_shape()[1])
        if fltr > net.get_shape()[2]:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 3159bd786503bf40f622c66d5044970bbee50b02
Time: 2017-01-09
Author: mikkel@255bits.com
File Name: hypergan/generators/resize_conv.py
Class Name:
Method Name: generator


Project Name: HyperGAN/HyperGAN
Commit Name: 84b912e4af76896c27b79fea622a1c9e1f68d08d
Time: 2017-11-02
Author: martyn@255bits.com
File Name: hypergan/discriminators/base_discriminator.py
Class Name: BaseDiscriminator
Method Name: layer_filter


Project Name: HyperGAN/HyperGAN
Commit Name: bf5a658ee5bb3cdfe6eb2ec92467610b522aa70f
Time: 2017-03-07
Author: martyn@255bits.com
File Name: examples/wordvec-to-word.py
Class Name:
Method Name: g_resize_conv_create