bug fix ...
This commit is contained in:
parent
c9115fe473
commit
27473989f9
|
@ -130,7 +130,7 @@ class Components :
|
||||||
logger = factory.instance(type='mongo.MongoWriter',args={'dbname':'aou','doc':args['context']})
|
logger = factory.instance(type='mongo.MongoWriter',args={'dbname':'aou','doc':args['context']})
|
||||||
log_folder = args['logs'] if 'logs' in args else 'logs'
|
log_folder = args['logs'] if 'logs' in args else 'logs'
|
||||||
partition = args['partition'] if 'partition' in args else ''
|
partition = args['partition'] if 'partition' in args else ''
|
||||||
log_folder = os.sep.join([log_folder,args['context'],partition])
|
log_folder = os.sep.join([log_folder,args['context'],str(partition)])
|
||||||
|
|
||||||
_args = {"batch_size":10000,"logs":log_folder,"context":args['context'],"max_epochs":150,"column":args['columns'],"id":"person_id","logger":logger}
|
_args = {"batch_size":10000,"logs":log_folder,"context":args['context'],"max_epochs":150,"column":args['columns'],"id":"person_id","logger":logger}
|
||||||
_args['max_epochs'] = 150 if 'max_epochs' not in args else int(args['max_epochs'])
|
_args['max_epochs'] = 150 if 'max_epochs' not in args else int(args['max_epochs'])
|
||||||
|
|
Loading…
Reference in New Issue