blob: 28324d8cac8d60fd7f749730128a957e7bca7009 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import sys
from experiment import Experiment
file = None
if len(sys.argv) < 2:
print('Provide YAML configuration file as argument')
exit(1)
file = sys.argv[1]
prefix = sys.argv[2] if len(sys.argv) > 2 else ''
experiment = Experiment(file, prefix)
experiment.run()
experiment.save_results()
|