Beginner Question - Error while testing Docker Image


#1

Evening,

We are getting error while testing the Docker Image using the command

docker run -v "$PWD"/test_submission:/aaio/test submission python /aaio/test/testDocker.py 

Error Message -

Traceback (most recent call last):
File “/aaio/test/testDocker.py”, line 76, in
main()
File “/aaio/test/testDocker.py”, line 48, in main
resolution=resolution
File “/opt/conda/envs/python36/lib/python3.6/site-packages/animalai/envs/gym/environment.py”, line 58, in >init
resolution=resolution)
File “/opt/conda/envs/python36/lib/python3.6/site-packages/animalai/envs/environment.py”, line 64, in >init
self.executable_launcher(file_name, docker_training)
File “/opt/conda/envs/python36/lib/python3.6/site-packages/animalai/envs/environment.py”, line 180, in >executable_launcher
.format(true_filename))
animalai.envs.exception.UnityEnvironmentException: Couldn’t launch the tarou environment. Provided >filename does not match any environments.
If you haven’t done so already, follow the instructions at: https://github.com/beyretb/AnimalAI-Olympics

We checked the files in test/env and it does contain AnimalAI.app. Following files are present.
[’.DS_Store’, ‘AnimalAI.app’, ‘README.md’, ‘test_submission’]

We built the Docker image using Commands as directed in documention/submissions.md

docker build --tag=submission .

Please let me know if you need any more information.
Thank You


#2

Hello,

You need to place the linux files in the env folder. The docker runs on linux and therefore will run the linux version of the environment.

Download this file, place it in the examples/submission/test_submission/env folder, unzip its content in the same folder and you should be good to go!


#3

Thank you so much @beyretb. We successfully submitted it. Our team name is NARUTO and we are now placed at 32nd.

Thanks again.