|
|
@ -589,4 +589,14 @@ class factory :
|
|
|
|
pthread= Trainer(**_args)
|
|
|
|
pthread= Trainer(**_args)
|
|
|
|
if 'start' in _args and _args['start'] == True :
|
|
|
|
if 'start' in _args and _args['start'] == True :
|
|
|
|
pthread.start()
|
|
|
|
pthread.start()
|
|
|
|
return pthread
|
|
|
|
return pthread
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class plugins:
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
|
|
|
|
def load(_config):
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
This function attempts to load the plugins to insure they are valid
|
|
|
|
|
|
|
|
_config configuration for plugin specifications {pre:{pipeline,path},post:{pipeline,path}}
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|