bd090db61ce516a22c8c433bec29a9be7c1c62a2,examples/alignment.py,,,#,33

Before Change



config = hg.configuration.Configuration.load(config_file+".json")

config_name="alignment-"+str(uuid.uuid4()).split("-")[0]
config_filename = os.path.expanduser("~/.hypergan/configs/"+config_name+".json")
print("Saving config to ", config_filename)

hc.Selector().save(config_filename, config)

After Change


save_file = "save/model.ckpt"

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

    if args.config_list is not None:
        lines = tuple(open(args.config_list, "r"))
        config_file = random.choice(lines).strip()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


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: GoogleCloudPlatform/python-docs-samples
Commit Name: 73d474237e19dc5df863739a754e6e3fa50b247f
Time: 2020-08-27
Author: 31265687+cumason123@users.noreply.github.com
File Name: run/events-pubsub/main_test.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 4fba45fe94a48f0287379e21ac2a0b50eaa6f642
Time: 2020-08-27
Author: 31265687+cumason123@users.noreply.github.com
File Name: run/events-storage/main_test.py
Class Name:
Method Name: