1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 11:10:20 +01:00

using gym=0.12.5 instead of latest (#360)

* using gym=0.12.5 instead of latest

* changing docker gym version

* changing dockingfile gym version
This commit is contained in:
anabwan
2019-06-24 10:34:28 +03:00
committed by GitHub
parent d6795bd524
commit 30c64d0656
3 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ FROM coach-base:master as builder
# prep some of the more common environments
# Gym (installed with coach)
Run pip3 install gym[atari] box2d
Run pip3 install gym[atari]==0.12.5 box2d
# Mujoco
RUN mkdir -p ~/.mujoco \
&& wget https://www.roboti.us/download/mjpro150_linux.zip -O mujoco.zip \
@@ -29,5 +29,5 @@ COPY --from=builder /root/.cache /root/.cache
COPY setup.py /root/src/.
COPY requirements.txt /root/src/.
COPY README.md /root/src/.
RUN pip3 install gym[atari] box2d mujoco_py==1.50.1.68 vizdoom && pip3 install -e .[all] && rm -rf /root/.cache
RUN pip3 install gym[atari]==0.12.5 box2d mujoco_py==1.50.1.68 vizdoom && pip3 install -e .[all] && rm -rf /root/.cache
COPY . /root/src

View File

@@ -1,7 +1,7 @@
FROM coach-base:master as builder
# prep gym and any of its related requirements.
RUN pip3 install gym[atari,box2d,classic_control]
RUN pip3 install gym[atari,box2d,classic_control]==0.12.5
# add coach source starting with files that could trigger
# re-build if dependencies change.
@@ -16,5 +16,5 @@ COPY --from=builder /root/.cache /root/.cache
COPY setup.py /root/src/.
COPY requirements.txt /root/src/.
COPY README.md /root/src/.
RUN pip3 install gym[atari,box2d,classic_control] && pip3 install -e .[all] && rm -rf /root/.cache
RUN pip3 install gym[atari,box2d,classic_control]==0.12.5 && pip3 install -e .[all] && rm -rf /root/.cache
COPY . /root/src

View File

@@ -7,7 +7,7 @@ pygame>=1.9.3
PyOpenGL>=3.1.0
scipy>=0.19.0
scikit-image>=0.13.0
gym>=0.10.5
gym==0.12.5
bokeh>=0.13.0
kubernetes>=8.0.0b1,<=8.0.1
redis>=2.10.6