5a69007e1ab2f4c0b4a549c0a2a8cd9701fd8929,examples/colorizer.py,,search,#Any#Any#Any#,137
Before Change
gan = setup_gan(config, inputs, args)
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")
if args.action == "train":
metrics = train(config, inputs, args)
print("Resulting metrics:", metrics)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: eriklindernoren/PyTorch-GAN
Commit Name: 61228f3243eaee39cba31a9abd2afc6ead9612a8
Time: 2018-05-04
Author: eriklindernoren@gmail.com
File Name: implementations/bicyclegan/bicyclegan.py
Class Name:
Method Name:
Project Name: deepchem/deepchem
Commit Name: c7c06f56e918cabf565d4e4454daa344137d1f0f
Time: 2017-05-25
Author: Karl
File Name: contrib/rl/tictactoe.py
Class Name:
Method Name: main