save dnn model into database

This commit is contained in:
bohanjason
2019-09-29 20:53:23 -04:00
committed by Dana Van Aken
parent c37ef9c072
commit 25d0838376
6 changed files with 27 additions and 30 deletions

View File

@@ -264,6 +264,8 @@ def clean_logs():
@task
def lhs_samples(count=10):
if not os.path.exists(CONF['lhs_save_path']):
os.makedirs(CONF['lhs_save_path'])
cmd = 'python3 lhs.py {} {} {}'.format(count, CONF['lhs_knob_path'], CONF['lhs_save_path'])
local(cmd)