示例#1
0
文件: run.py 项目: oleglite/syne
def load_unit(path):
    with open(path, 'rb') as f:
        data = pickle.load(f)

    conf = make_conf(dict_to_object(data['conf']))
    unit = TimeUnit(conf, data=data['unit'])
    return unit
示例#2
0
def load_unit(path):
    with open(path, 'rb') as f:
        data = pickle.load(f)

    conf = make_conf(dict_to_object(data['conf']))
    unit = TimeUnit(conf, data=data['unit'])
    return unit
示例#3
0
文件: run.py 项目: oleglite/syne
def run():
    conf = make_conf(audio_conf)
    unit = TimeUnit(conf)
    teach_unit(unit)
示例#4
0
def run():
    conf = make_conf(audio_conf)
    unit = TimeUnit(conf)
    teach_unit(unit)