4dd8653c9fedc12091c8fe443b37ee9f521a207c,examples/colorizer.py,,search,#Any#Any#Any#,131

Before Change



        if i % args.sample_every == 0:
            print("Sampling "+str(i))
            sample_file = "samples/"+str(i)+".png"
            sampler.sample(sample_file, False)


if args.action == "train":

After 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)
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


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


Project Name: facebookresearch/fastMRI
Commit Name: 05b2b1c02a8ce5f471877243ebebe5df876ccc37
Time: 2020-04-15
Author: tulliemurrell@gmail.com
File Name: models/unet/train_unet.py
Class Name:
Method Name: main


Project Name: Qiskit/qiskit-aqua
Commit Name: 7229dd15b01e5015ec649a3264561fc01d39a16b
Time: 2021-03-17
Author: mtreinish@kortar.org
File Name: qiskit/aqua/utils/run_circuits.py
Class Name:
Method Name: run_on_backend


Project Name: tensorflow/minigo
Commit Name: bcb5c6478240973edbb7ac0316696486c067524c
Time: 2018-11-07
Author: dtj@google.com
File Name: bigtable_input.py
Class Name:
Method Name: histogram_move_keys_by_game