forked from araffin/rl-baselines-zoo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
85 additions
and
5 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,9 @@ | ||
[run] | ||
branch = False | ||
omit = | ||
tests/ | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
raise NotImplementedError() |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
__pycache__/ | ||
logs/ | ||
.pytest_cache/ | ||
.coverage | ||
.coverage.* |
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
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
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,28 @@ | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install git wget python-dev python3-dev libopenmpi-dev \ | ||
python-pip libglib2.0-0 \ | ||
libsm6 libxext6 libfontconfig1 libxrender1 \ | ||
swig cmake libopenmpi-dev zlib1g-dev | ||
|
||
ENV CODE_DIR /root/code | ||
ENV VENV /root/venv | ||
|
||
RUN \ | ||
pip install virtualenv && \ | ||
virtualenv $VENV --python=python3 && \ | ||
. $VENV/bin/activate && \ | ||
mkdir $CODE_DIR && \ | ||
cd $CODE_DIR && \ | ||
pip install --upgrade pip && \ | ||
pip install tensorflow==1.8.0 && \ | ||
pip install pytest==3.5.1 && \ | ||
pip install pytest-cov && \ | ||
pip install pyyaml && \ | ||
pip install box2d-py==2.3.5 && \ | ||
pip install stable-baselines==2.1.1 | ||
|
||
ENV PATH=$VENV/bin:$PATH | ||
|
||
CMD /bin/bash |
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,28 @@ | ||
FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04 | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install git wget python-dev python3-dev libopenmpi-dev \ | ||
python-pip libglib2.0-0 \ | ||
libsm6 libxext6 libfontconfig1 libxrender1 \ | ||
swig cmake libopenmpi-dev zlib1g-dev | ||
|
||
ENV CODE_DIR /root/code | ||
ENV VENV /root/venv | ||
|
||
RUN \ | ||
pip install virtualenv && \ | ||
virtualenv $VENV --python=python3 && \ | ||
. $VENV/bin/activate && \ | ||
mkdir $CODE_DIR && \ | ||
cd $CODE_DIR && \ | ||
pip install --upgrade pip && \ | ||
pip install tensorflow-gpu==1.8.0 && \ | ||
pip install pytest==3.5.1 && \ | ||
pip install pytest-cov && \ | ||
pip install pyyaml && \ | ||
pip install box2d-py==2.3.5 && \ | ||
pip install stable-baselines==2.1.1 | ||
|
||
ENV PATH=$VENV/bin:$PATH | ||
|
||
CMD /bin/bash |
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