1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-12 07:16:54 +08:00
This commit is contained in:
xixi
2021-06-22 10:04:38 +08:00
committed by you-n-g
parent d6984a3f2d
commit d1b8ed9613
2 changed files with 2 additions and 73 deletions

View File

@@ -103,7 +103,8 @@ def end_task_train(rec: Recorder, experiment_name: str) -> Recorder:
for record in records:
cls, kwargs = get_cls_kwargs(record, default_module="qlib.workflow.record_temp")
kwargs = fill_placeholder(kwargs, model, dataset)
r = cls(**kwargs, **{"record", record})
kwargs["recorder"] = rec
r = cls(**kwargs)
r.generate()
return rec