forked from Farama-Foundation/ViZDoom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: 2407eaf
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Provided dockerfiles (all images use ubuntu 16.04): | ||
|
||
* **python3** - python3, vizdoom with dependecies and X11 support. By default runs [basic example](examples/python/basic.py). | ||
* **tensorflow** - python3, vizdoom with dependecies, tensorflow and X11 support. By default runs [tensorflow learning example](examples/python/learning_tensorflow.py). | ||
* **torch** - TODO | ||
|
||
# Building | ||
```bash | ||
# Uses Dockerfile in python3 directory to create image tagged vizdoom | ||
docker build python3 -t vizdoom | ||
|
||
|
||
# Uses Dockerfile in tensorflow directory to create image tagged vizdoom_tf | ||
docker build tensorflow -t vizdoom_tf | ||
|
||
``` | ||
# Running (requires building beforehand) | ||
|
||
``` | ||
# Run basic example in container named 'basic' ('--net=host -e DISPLAY=${DISPLAY'} is needed for X11) | ||
docker run -t --net=host -e DISPLAY=${DISPLAY} --rm --name basic vizdoom | ||
# Run tensorflow learning example in container named 'vizdoom_tf' ('--net=host -e DISPLAY=${DISPLAY'} is needed for X11) | ||
docker run -t --net=host -e DISPLAY=${DISPLAY} --rm --name vizdoom_tf vizdoom_tf | ||
``` |