第14章コンピュータビジョン
14.8.3. Faster R-CNN14.8.3 Faster R-CNN
To be more accurate in object detection, the fast R-CNN model usually has to generate a lot of region proposals in selective search. To reduce region proposals without loss of accuracy, the faster R-CNN proposes to replace selective search with a region proposal network (Ren et al., 2015).
英語のヒント
物体検出をもっと正確にするには、fast R-CNNモデルはふつう選択的探索で多くの領域候補を生成しなければならない。正解率を落とさずに領域候補を減らすため、faster R-CNNは、選択的探索を領域提案ネットワークに置き換えることを提案する(Ren et al., 2015)。
Fig. 14.8.4図14.8.4
The faster R-CNN model.
英語のヒント
faster R-CNNモデル。
Fig. 14.8.4 shows the faster R-CNN model. Compared with the fast R-CNN, the faster R-CNN only changes the region proposal method from selective search to a region proposal network. The rest of the model remain unchanged. The region proposal network works in the following steps:
英語のヒント
図14.8.4はfaster R-CNNモデルを示している。fast R-CNNと比べて、faster R-CNNは、領域候補の方法を選択的探索から領域提案ネットワークに変えるだけである。モデルの残りは変わらない。領域提案ネットワークは次の手順で働く。
- Use a convolutional layer with padding of 1 to transform the CNN output to a new output with channels. In this way, each unit along the spatial dimensions of the CNN-extracted feature maps gets a new feature vector of length .
英語のヒント
パディング1のの畳み込み層を使って、CNNの出力をチャネルの新しい出力に変換する。こうすると、CNNで抽出した特徴マップの空間の次元に沿った各ユニットは、長さの新しい特徴ベクトルを得る。 - Centered on each pixel of the feature maps, generate multiple anchor boxes of different scales and aspect ratios and label them.
英語のヒント
特徴マップの各画素を中心として、スケールと縦横比の異なる複数のアンカーボックスを生成し、それらにラベルをつける。 - Using the length- feature vector at the center of each anchor box, predict the binary class (background or objects) and bounding box for this anchor box.
英語のヒント
各アンカーボックスの中心での長さの特徴ベクトルを使って、このアンカーボックスの二値のクラス(背景か物体か)と境界ボックスを予測する。 - Consider those predicted bounding boxes whose predicted classes are objects. Remove overlapped results using non-maximum suppression. The remaining predicted bounding boxes for objects are the region proposals required by the region of interest pooling layer.
英語のヒント
予測したクラスが物体である予測した境界ボックスを考える。非最大値抑制を使って、重なった結果を取り除く。物体について残った予測した境界ボックスが、注目領域プーリング層が必要とする領域候補である。
It is worth noting that, as part of the faster R-CNN model, the region proposal network is jointly trained with the rest of the model. In other words, the objective function of the faster R-CNN includes not only the class and bounding box prediction in object detection, but also the binary class and bounding box prediction of anchor boxes in the region proposal network. As a result of the end-to-end training, the region proposal network learns how to generate high-quality region proposals, so as to stay accurate in object detection with a reduced number of region proposals that are learned from data.
英語のヒント
faster R-CNNモデルの一部として、領域提案ネットワークはモデルの残りと一緒に訓練されることは注目に値する。言い換えると、faster R-CNNの目的関数には、物体検出でのクラスと境界ボックスの予測だけでなく、領域提案ネットワークでのアンカーボックスの二値のクラスと境界ボックスの予測も含まれる。エンドツーエンドの訓練の結果、領域提案ネットワークは質の高い領域候補を生成する方法を学習し、データから学習した少ない数の領域候補で、物体検出の正確さを保てる。