- Home /
My environment is not working
Hi
I'm working on a Udacity nanodegree project.
I am using the ml agent's UnityEnvironment, "Banana.exe" and every time I tried to bring the env, nothing happens but popped up Unity window with empty environment.
Then the code stopped just a few seconds after with the error code
Traceback (most recent call last): File "C:/Users/cml/PycharmProjects/Banana_Windows_x86_64/Banana_Windows_x86_64/p1_banana.py", line 5, in env = UnityEnvironment(file_name="Banana.exe") File "c:\users\cml\ml-agents-release_12\ml-agents-release_12\ml-agents-envs\mlagents_envs\environment.py", line 217, in init aca_output = self._send_academy_parameters(rl_init_parameters_in) File "c:\users\cml\ml-agents-release_12\ml-agents-release_12\ml-agents-envs\mlagents_envs\environment.py", line 455, in _send_academy_parameters return self._communicator.initialize(inputs) File "c:\users\cml\ml-agents-release_12\ml-agents-release_12\ml-agents-envs\mlagents_envs\rpc_communicator.py", line 104, in initialize self.poll_for_timeout() File "c:\users\cml\ml-agents-release_12\ml-agents-release_12\ml-agents-envs\mlagents_envs\rpc_communicator.py", line 96, in poll_for_timeout raise UnityTimeOutException( mlagents_envs.exception.UnityTimeOutException: The Unity environment took too long to respond. Make sure that : The environment does not need user interaction to launch The Agents' Behavior Parameters > Behavior Type is set to "Default" The environment and the Python interface have compatible versions.
Process finished with exit code 1
I am using a python 3.8.5 version now
How can i fix this problem?
I posted the Unity window which pops up when I execute my code, and it's exactly same the one in the link below
https://github.com/udacity/deep-reinforcement-learning/blob/master/p1_navigation/Navigation.ipynb
thx
Your answer
Follow this Question
Related Questions
How can I make an area/models? 2 Answers
How do I Create a Bush? 1 Answer
Standard environment asset 0 Answers
Best program to create 3D maps in? 1 Answer
What are some good environment modeling applications? 1 Answer