Commit 903af0d4 authored by Amir Yazdanbakhsh's avatar Amir Yazdanbakhsh
Browse files

Merge branch 'master' of bitbucket.org:act-lab/axbench


Former-commit-id: 2ea6f5fed6362b050925fdf13aa7cd59a06f9a93 [formerly 6a5c3b7eee0fe7b4e3176864dc96d6964e714bbf]
Former-commit-id: 65347367b6f78fec09d61c55eeaf24fd98cdaba0
parents 3e2ea2bd 204f9cd9
......@@ -33,10 +33,10 @@ def main():
args = []
print "------------------ Compiler Parameters ------------------"
args.append(raw_input(bcolors.OKBLUE + "Learning rate: " + bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Epoch number: "+ bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Sampling rate: "+ bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Test data fraction: "+ bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Learning rate [0.1-1.0]: " + bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Epoch number [1-10000]: "+ bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Sampling rate [0.1-1.0]: "+ bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Test data fraction [0.1-1.0]: "+ bcolors.ENDC))
hidden_layers = raw_input(bcolors.OKBLUE + "Maximum number of layers [3|4]: "+ bcolors.ENDC)
while((int(hidden_layers) != 3 ) and (int(hidden_layers) != 4)):
......@@ -44,7 +44,7 @@ def main():
hidden_layers = raw_input(bcolors.OKBLUE + "Maximum number of layers [3|4]: "+ bcolors.ENDC)
args.append(hidden_layers)
args.append(raw_input(bcolors.OKBLUE + "Maximum number of neurons per layer: "+ bcolors.ENDC))
args.append(raw_input(bcolors.OKBLUE + "Maximum number of neurons per layer [2-64]: "+ bcolors.ENDC))
print "---------------------------------------------------------"
data_file = open(sys.argv[1] +'.json', 'w')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment