1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-07 13:00:58 +08:00

Fix recorder related bugs

This commit is contained in:
Jactus
2020-11-10 00:32:18 +08:00
parent 633af182f4
commit 004e2f557b
6 changed files with 23 additions and 21 deletions

View File

@@ -83,11 +83,9 @@ def init(default_conf="client", **kwargs):
LOG.info(f"flask_server={C['flask_server']}, flask_port={C['flask_port']}")
# set up QlibRecorder
uri = C["exp_uri"]
# exp manager module
module = get_module_by_module_path("qlib.workflow.expm")
exp_manager = init_instance_by_config(C["exp_manager"], module)
qr = QlibRecorder(exp_manager, uri)
qr = QlibRecorder(exp_manager)
R.register(qr)