84b912e4af76896c27b79fea622a1c9e1f68d08d,hypergan/discriminators/base_discriminator.py,BaseDiscriminator,layer_filter,#BaseDiscriminator#Any#Any#Any#,76
Before Change
// progressive enhancement
if len(enhancers) > 0:
print("Adding " + str(stacks) + " stacks" + str(len(enhancers)) )
new_shape = [ops.shape(net)[1], ops.shape(net)[2]]
x = self.add_noise(self.gan.inputs.x)
x = tf.image.resize_images(x,new_shape, 1) //TODO what if the input is user defined? i.e. 2d test
After Change
new_shape = [ops.shape(net)[1], ops.shape(net)[2]]
x = self.add_noise(self.gan.inputs.x)
x = tf.image.resize_images(x,new_shape, 1) //TODO what if the input is user defined? i.e. 2d test
size = [ops.shape(net)[1], ops.shape(net)[2]]
enhancers = [tf.image.resize_images(enhance, size, 1) for enhance in enhancers]
enhance = tf.concat(axis=0, values=[x]+enhancers)
// progressive growing
if config.progressive_growing:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances 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: 6adad567b5851710e765208488a16815fb35d57c
Time: 2019-02-21
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_concat
Project Name: HyperGAN/HyperGAN
Commit Name: a1333e84dfd6eb16922b52663060c328073039b2
Time: 2017-06-13
Author: mikkel@255bits.com
File Name: hypergan/generators/resize_conv_generator.py
Class Name: ResizeConvGenerator
Method Name: build