-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
requestIssue contains a feature request.Issue contains a feature request.
Description
I am running this command: mlagents-learn config/trainer_config.yaml --run-id=Lernen_1_0 --train --load and I get this:
lib\site-packages\mlagents\trainers\learn.py:141: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
trainer_config = yaml.load(data_file)
I looked on the page and there is written that I should run this: PYTHONWARNINGS=ignore::yaml.YAMLLoadWarning
or
yaml.load(input, Loader=yaml.FullLoader)
which one should I run and will this stop the warning to appear? Or do I have to run other commands?
Metadata
Metadata
Assignees
Labels
requestIssue contains a feature request.Issue contains a feature request.