Merge pull request #27 from kwea123/master

modify docker launching commands
This commit is contained in:
SP Mohanty 2019-06-17 23:26:28 +02:00 коммит произвёл GitHub
Родитель 9cd152ba68 7b2973dbf3
Коммит de4c571442
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -74,18 +74,22 @@ the environment within a separate container:
```
# Start the container running your agent script.
docker run \
--rm \
--env OTC_EVALUATION_ENABLED=true \
--network=host \
-it obstacle_tower_challenge:latest ./run.sh
# In another terminal window, execute the environment.
docker run \
--rm \
--env OTC_EVALUATION_ENABLED=true \
--env OTC_DEMO_EVALUATION=true \
--network=host \
-it obstacle_tower_challenge:latest ./env.sh
```
To use GPU, add the tag `--runtime=nvidia` after `docker run`.
The environment script should output the evaluation state as it advances, recording overall state as well as the progress within each episode for seeds 101-105:
```json
{"state":"PENDING","floor_number_avg":0.0,"reward_avg":-1.0,"episodes":[],"last_update":"2019-02-09T00:17:15Z"}