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()
config = hg.configuration.Configuration.load(config_file+".json")
random_config = AlignedRandomSearch({}).random_config()
config["generator"]=random_config["generator"]
config["discriminator"]=random_config["discriminator"]
// TODO Other search terms?
print("config list chosen", config_file)
class TwoImageInput():
def create(self, args):
self.inputsa = hg.inputs.image_loader.ImageLoader(args.batch_size)
self.inputsa.create(args.directory,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
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: HyperGAN/HyperGAN
Commit Name: 377d5389150563da248e74f1cbac52851572005a
Time: 2017-06-09
Author: mikkel@255bits.com
File Name: hypergan/cli.py
Class Name: CLI
Method Name: __init__
Project Name: ilastik/ilastik
Commit Name: 54752cfa38468abbab5580fae1a718bb41fe3f31
Time: 2013-04-19
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: handleAddStack