mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-31 03:57:55 +01:00
Merge branch 'master' of github.com:ageron/handson-ml
This commit is contained in:
@@ -574,6 +574,15 @@
|
|||||||
" plt.show()"
|
" plt.show()"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"openai_cart_pole_rendering = False # don't try, just use the safe way?"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 26,
|
"execution_count": 26,
|
||||||
|
|||||||
@@ -6,12 +6,15 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
build-essential \
|
build-essential \
|
||||||
git \
|
git \
|
||||||
sudo \
|
sudo \
|
||||||
|
cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev libboost-all-dev libsdl2-dev swig \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN conda update -n base conda
|
RUN conda update -n base conda
|
||||||
RUN conda install -y -c conda-forge \
|
RUN conda install -y -c conda-forge \
|
||||||
tensorflow \
|
tensorflow \
|
||||||
jupyter_contrib_nbextensions
|
jupyter_contrib_nbextensions \
|
||||||
|
pyopengl
|
||||||
|
RUN pip install "gym[atari,box2d,classic_control]"
|
||||||
|
|
||||||
ARG username
|
ARG username
|
||||||
ARG userid
|
ARG userid
|
||||||
|
|||||||
@@ -459,7 +459,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"NumPy first creates three `ndarrays` (one per dimension), each of shape `(3, 2, 10)`. Each array has values equal to the coordinate along a specific axis. For example, all elements in the `z` array are equal to their z-coordinate:\n",
|
"NumPy first creates three `ndarrays` (one per dimension), each of shape `(2, 10)`. Each array has values equal to the coordinate along a specific axis. For example, all elements in the `z` array are equal to their z-coordinate:\n",
|
||||||
"\n",
|
"\n",
|
||||||
" [[[ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]\n",
|
" [[[ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]\n",
|
||||||
" [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]\n",
|
" [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user