5d94c905ec871b29fb9a44cbe31e3bdf3e0f6bc0,examples/super-resolution.py,,add_lowres,#Any#Any#,44

Before Change


    x = gan.graph.x
    s = [int(x) for x in net.get_shape()]
    shape = [s[1], s[2]]
    if(shape[0]>32 or shape[1]>32):
        return None

    x = tf.image.resize_images(x, shape, 1)
    print("Created bw ", x)

After Change


        x = gan.graph.xfiltered
        x = tf.image.resize_images(x, shape, 1)
    else:
        x = tf.image.resize_images(x, shape, 1)
        gan.graph.xfiltered = x
        print("set xfiltered", x, shape)

    return x
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 5d94c905ec871b29fb9a44cbe31e3bdf3e0f6bc0
Time: 2017-02-10
Author: martyn@255bits.com
File Name: examples/super-resolution.py
Class Name:
Method Name: add_lowres


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


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