Пример #1
0
def main_console():
    observer = FileStorageObserver.create(osp.join('output', 'sacred',
                                                   'train'))
    train_ex.observers.append(observer)
    train_ex.run_commandline()
Пример #2
0
def main_console():
    observer = FileStorageObserver(osp.join("output", "sacred", "train"))
    train_ex.observers.append(observer)
    train_ex.run_commandline()