Skip to content

Commit f969bdc

Browse files
Update Timeout error messages (#1750)
1 parent 388a7fc commit f969bdc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ml-agents/mlagents/envs/rpc_communicator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def initialize(self, inputs: UnityInput) -> UnityOutput:
7878
raise UnityTimeOutException(
7979
"The Unity environment took too long to respond. Make sure that :\n"
8080
"\t The environment does not need user interaction to launch\n"
81-
"\t The Academy and the External Brain(s) are attached to objects in the Scene\n"
81+
"\t The Academy's Broadcast Hub is configured correctly\n"
82+
"\t The Agents are linked to the appropriate Brains\n"
8283
"\t The environment and the Python interface have compatible versions.")
8384
aca_param = self.unity_to_external.parent_conn.recv().unity_output
8485
message = UnityMessage()

ml-agents/mlagents/envs/socket_communicator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def initialize(self, inputs: UnityInput) -> UnityOutput:
4545
raise UnityTimeOutException(
4646
"The Unity environment took too long to respond. Make sure that :\n"
4747
"\t The environment does not need user interaction to launch\n"
48-
"\t The Academy and the External Brain(s) are attached to objects in the Scene\n"
48+
"\t The Academy's Broadcast Hub is configured correctly\n"
49+
"\t The Agents are linked to the appropriate Brains\n"
4950
"\t The environment and the Python interface have compatible versions.")
5051
message = UnityMessage()
5152
message.header.status = 200

0 commit comments

Comments
 (0)