parent
b787ee0608
commit
65013e0cac
@ -1 +1,15 @@
|
||||
|
||||
|
||||
import os
|
||||
import json
|
||||
from utils.workers import *
|
||||
from utils.params import PARAMS
|
||||
f = open(PARAMS['path'])
|
||||
config = json.loads(f.read())
|
||||
f.close()
|
||||
from threading import RLock
|
||||
lock = RLock()
|
||||
p = Learner(config,lock)
|
||||
p.daemon = True
|
||||
p.start()
|
||||
p.join()
|
||||
|
Loading…
Reference in new issue