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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user