If I can run my code in jupyter notebook && docker && remote server ?
However, It will rise error(I have set docker_training=True) :
UnityTimeOutException: The Unity environment took too long to respond. Make sure that :
The environment does not need user interaction to launch
The Academy's Broadcast Hub is configured correctly
The Agents are linked to the appropriate Brains
The environment and the Python interface have compatible versions.
At first, I have found the same error in this topic.
Unfortunately, I can’t set RUN sed -i 's/docker_training=docker_training/docker_training=True/g' xxx.py
in my Dockerfile, since I use jupyter notebook.
Second, I kown render gym env in jupyter with this command(this port):
xvfb-run -s "-screen 0 1400x900x24" jupyter notebook
I just wonder whether it will work in unity env as well.
My code is very simple, and I just want to test the env.
gym_env = AnimalAIEnv(
environment_filename=env_path,
worker_id=1,
docker_training=True,
n_arenas=1,
arenas_configurations=arena_config_in,
retro=True
)
Thx