Skip to content

Commit

Permalink
Fix error of text lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
katoosky authored and lamberta committed Jun 4, 2019
1 parent 5cdeb95 commit 57444a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/ja/r2/tutorials/images/intro_to_cnns.ipynb
Expand Up @@ -175,7 +175,7 @@
"source": [
"下記の6行のコードは、一般的なパターンで畳み込みの基礎部分を定義しています: [Conv2D](https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv2D) と [MaxPooling2D](https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPool2D) レイヤーのスタック。\n",
"\n",
"入力として、CNN はバッチサイズを無視して、shape (image_height, image_width, color_channels) のテンソルをとります。もし、あなたが color channels に慣れていないならば、MNIST は1つ (画像がグレースケールのため) の color channels がありますが、カラー画像には3つ (R, G, B) があります。この例では、MNIST 画像のフォーマットである shape (28, 28, 1) の入力を処理するように CNN を構成します。これを行うには、引数 `input_shape` を最初のレイヤーに渡します。\n",
"入力として、CNN はバッチサイズを無視して、shape (image_height, image_width, color_channels) のテンソルをとります。color channels について、MNIST は1つ (画像がグレースケールのため) の color channels がありますが、カラー画像には3つ (R, G, B) があります。この例では、MNIST 画像のフォーマットである shape (28, 28, 1) の入力を処理するように CNN を構成します。これを行うには、引数 `input_shape` を最初のレイヤーに渡します。\n",
"\n"
]
},
Expand Down Expand Up @@ -227,7 +227,7 @@
"id": "_j-AXYeZ2GO5"
},
"source": [
"上記より、全ての Conv2D と MaxPooling2D レイヤーの出力は shape (height, width, channels) の 3D テンソルであることがわかります。width と height の寸法は、ネットワークが深くなるにつれて縮小する傾向があります。各 Conv2D レイヤーの出力チャネルの数は、第一引数 (例: 32 または 64) によって制御されます。通常、width とheight が縮小すると、各 Conv2D レイヤにさらに出力チャネルを追加する余裕が (計算上) できます。"
"上記より、すべての Conv2D と MaxPooling2D レイヤーの出力は shape (height, width, channels) の 3D テンソルであることがわかります。width と height の寸法は、ネットワークが深くなるにつれて縮小する傾向があります。各 Conv2D レイヤーの出力チャネルの数は、第一引数 (例: 32 または 64) によって制御されます。通常、width とheight が縮小すると、各 Conv2D レイヤーにさらに出力チャネルを追加する余裕が (計算上) できます。"
]
},
{
Expand Down Expand Up @@ -286,7 +286,7 @@
"id": "xNKXi-Gy3RO-"
},
"source": [
"ご覧の通り、2 つの Dense レイヤーを通過する前に、(3, 3, 64) の出力は shape (576) のベクターに平滑化されました。"
"ご覧のとおり、2 つの Dense レイヤーを通過する前に、(3, 3, 64) の出力は shape (576) のベクターに平滑化されました。"
]
},
{
Expand Down

0 comments on commit 57444a5

Please sign in to comment.