udacity / deep-reinforcement-learning

Repo for the Deep Reinforcement Learning Nanodegree program
https://www.udacity.com/course/deep-reinforcement-learning-nanodegree--nd893
MIT License
4.9k stars 2.34k forks source link

Banana environment throws a timeout on Windows64 #90

Open JasperStolte opened 2 years ago

JasperStolte commented 2 years ago

This issue refers to the Navigation task here

This won't work on Windows64, as the environment throws a timeout error and fails to produce the required 'env' object. Refer to the unresolved issues on the Udacity knowledge base here, here and here.

samlopezruiz commented 1 year ago

Same problem here. env = UnityEnvironment(file_name=env_path)

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. If you're running on a headless server without graphics support, turn off display by either passing --no-graphics option or build your Unity executable as server build.

I also tried with no_graphics=True but the same error appears. I have mlagents==0.30.0 and I also have Unity installed.

I'm using Win64