File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
ml-agents-envs/mlagents_envs Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ There may be a number of possible causes:
89
89
Unity Environment to figure what error happened.
90
90
- _ Cause_ : You have assigned ` HTTP_PROXY ` and ` HTTPS_PROXY ` values in your
91
91
environment variables. _ Solution_ : Remove these values and try again.
92
+ - _ Cause_ : You are running in a headless environment (e.g. remotely connected
93
+ to a server). _ Solution_ : Pass ` --no-graphics ` to ` mlagents-learn ` , or
94
+ ` no_graphics=True ` to ` RemoteRegistryEntry.make() ` or the ` UnityEnvironment `
95
+ initializer. If you need graphics for visual observations, you will need to
96
+ set up ` xvfb ` (or equivalent).
92
97
93
98
## Communication port {} still in use
94
99
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def poll_for_timeout(self):
96
96
raise UnityTimeOutException (
97
97
"The Unity environment took too long to respond. Make sure that :\n "
98
98
"\t The environment does not need user interaction to launch\n "
99
- " \t The Agents are linked to the appropriate Brains \n "
99
+ ' \t The Agents\' Behavior Parameters > Behavior Type is set to "Default" \n '
100
100
"\t The environment and the Python interface have compatible versions."
101
101
)
102
102
You can’t perform that action at this time.
0 commit comments