Skip to content

Commit aaf6f18

Browse files
Ervin Tsurfnerd
Ervin T
authored andcommitted
Fix run_id typing in trainer.py (#2537)
1 parent b9a51d3 commit aaf6f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ml-agents/mlagents/trainers/trainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ def __init__(
3232
brain: BrainParameters,
3333
trainer_parameters: dict,
3434
training: bool,
35-
run_id: int,
35+
run_id: str,
3636
reward_buff_cap: int = 1,
3737
):
3838
"""
3939
Responsible for collecting experiences and training a neural network model.
4040
:BrainParameters brain: Brain to be trained.
4141
:dict trainer_parameters: The parameters for the trainer (dictionary).
4242
:bool training: Whether the trainer is set for training.
43-
:int run_id: The identifier of the current run
43+
:str run_id: The identifier of the current run
4444
:int reward_buff_cap:
4545
"""
4646
self.param_keys: List[str] = []

0 commit comments

Comments
 (0)