浏览代码

splitting brain params into brain name and identifiers

/develop/magic-string
Andrew Cohen 5 年前
当前提交
c7f283df
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ml-agents/mlagents/trainers/trainer_util.py

1
ml-agents/mlagents/trainers/trainer_util.py


:return:
"""
trainer_parameters = trainer_config["default"].copy()
brain_name, brain_name_identifiers = brain_parameters.brain_name.split("?")
trainer_parameters["summary_path"] = "{basedir}/{name}".format(
basedir=summaries_dir, name=str(run_id) + "_" + brain_name
)

正在加载...
取消
保存