You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
252 B
Python

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()