浏览代码

Fix run_id typing in trainer.py (#2537)

/develop-gpu-test
GitHub 5 年前
当前提交
7720db33
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ml-agents/mlagents/trainers/trainer.py

4
ml-agents/mlagents/trainers/trainer.py


brain: BrainParameters,
trainer_parameters: dict,
training: bool,
run_id: int,
run_id: str,
reward_buff_cap: int = 1,
):
"""

:bool training: Whether the trainer is set for training.
:int run_id: The identifier of the current run
:str run_id: The identifier of the current run
:int reward_buff_cap:
"""
self.param_keys: List[str] = []

正在加载...
取消
保存