mi-prometheus icon indicating copy to clipboard operation
mi-prometheus copied to clipboard

Yaml warning: loading can be potentially harmful

Open tsjayram opened this issue 5 years ago • 1 comments

Describe the bug The YAML loading can potentially be harmful, as seen in the run below. Applies to all scripts that use it.

/Users/jayram/Projects/mi-prometheus/miprometheus/utils/param_interface.py:283: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. params_from_yaml = yaml.load(stream)

Desktop (please complete the following information):

  • OS: both MacOS and Ubuntu Linux
  • Python version 3.7
  • PyTorch version 1.0

tsjayram avatar Apr 01 '19 21:04 tsjayram