9851098114134395edc8eb3a858a49bb25f95587,examples/chargan.py,,,#,88

Before Change



if args.action == "train":
    metrics = train(config, args)
    print("Resulting metrics:", metrics)
elif args.action == "search":
    search(config, args)
else:
    print("Unknown action: "+args.action)

After Change



inputs = TextInput(config, args.batch_size, one_hot=args.one_hot)

if args.action == "search":
    random_config = AlphaGANRandomSearch({}).random_config()

    if args.config_list is not None:
        config = random_config_from_list(args.config_list)

        config["generator"]=random_config["generator"]
        config["discriminator"]=random_config["discriminator"]
        // TODO Other search terms?
    else:
        config = random_config


def setup_gan(config, inputs, args):
    gan = hg.GAN(config, inputs=inputs)

    gan.create()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 19

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 9851098114134395edc8eb3a858a49bb25f95587
Time: 2017-07-12
Author: mikkel@255bits.com
File Name: examples/chargan.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: 2c492adcec2019dac14f96a7186e2bf145a3a823
Time: 2017-08-22
Author: martyn.garcia@gmail.com
File Name: examples/chargan.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: bd090db61ce516a22c8c433bec29a9be7c1c62a2
Time: 2017-06-28
Author: mikkel@255bits.com
File Name: examples/alignment.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: 9851098114134395edc8eb3a858a49bb25f95587
Time: 2017-07-12
Author: mikkel@255bits.com
File Name: examples/chargan.py
Class Name:
Method Name: