Avsecz / kopt

Hyper-parameter optimization for Keras
MIT License
47 stars 12 forks source link

Fix annoying yaml warning #13

Closed gokceneraslan closed 3 years ago

gokceneraslan commented 3 years ago

Suppresses this annoying warning:

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

Not sure if this is really the right fix though.

Avsecz commented 3 years ago

Thanks! Looks good. I've also used it here: https://github.com/kipoi/kipoi-utils/blob/020315afa0250bf467c9d383dca6d0c4595e79ae/kipoi_utils/utils.py#L271.