5a69007e1ab2f4c0b4a549c0a2a8cd9701fd8929,examples/colorizer.py,,search,#Any#Any#Any#,137

Before Change


    reconstruction = accuracy(tf.image.rgb_to_grayscale(gan.uniform_sample), tf.image.rgb_to_grayscale(x))
    for i in range(args.steps):
        gan.step()
        r,d = gan.session.run([reconstruction, diversity])
        sampler.sample("sample.png", False)
        print("R", r,"D", d)
        

After Change


    else:
        search_output = "2d-test-results.csv"

    config_filename = "colorizer-"+str(uuid.uuid4())+".json"
    hc.Selector().save(config_filename, config)
    with open(search_output, "a") as myfile:
        myfile.write(config_filename+","+",".join([str(x) for x in metric_sum])+"\n")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 5a69007e1ab2f4c0b4a549c0a2a8cd9701fd8929
Time: 2017-06-28
Author: mikkel@255bits.com
File Name: examples/colorizer.py
Class Name:
Method Name: search


Project Name: HyperGAN/HyperGAN
Commit Name: 6a65e91b8303144eda83efca5f5a4d9806fba6b7
Time: 2017-06-12
Author: mikkel@255bits.com
File Name: examples/alignment-test.py
Class Name:
Method Name:


Project Name: studioml/studio
Commit Name: fe0e672f6ed38c5e552c2b07007456fd63a7e63a
Time: 2017-06-20
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/runner_test.py
Class Name: RunnerTest
Method Name: test_runner_local_art