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

yml afe load

This commit is contained in:
Young
2021-02-17 05:17:18 +00:00
committed by you-n-g
parent 77830a546e
commit 50d5fcf61e
6 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ class TunerConfigManager:
self.config_path = config_path
with open(config_path) as fp:
config = yaml.load(fp)
config = yaml.safe_load(fp)
self.config = copy.deepcopy(config)
self.pipeline_ex_config = PipelineExperimentConfig(config.get("experiment", dict()), self)