1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00
This commit is contained in:
Jactus
2020-11-27 20:00:58 +08:00
parent f8101214eb
commit f05df04320
3 changed files with 10 additions and 5 deletions

View File

@@ -250,7 +250,9 @@ def run(times=1, models=None, exclude=False):
# run workflow_by_config for multiple times
for i in range(times):
sys.stderr.write(f"Running the model: {fn} for iteration {i+1}...\n")
errs = execute(f"{python_path} {env_path / 'src/pyqlib/qlib/workflow/cli.py'} {yaml_path} {fn}")
errs = execute(
f"{python_path} {env_path / 'src/pyqlib/qlib/workflow/cli.py'} {yaml_path} {fn} {exp_manager}"
)
if errs is not None:
_errs = errors.get(fn, {})
_errs.update({i: errs})