プリンキピア

第14章コンピュータビジョン

14.6.3. Demonstration14.6.3 実演

Let’s demonstrate ten images with their labeled ground-truth bounding boxes. We can see that the rotations, sizes, and positions of bananas vary across all these images. Of course, this is just a simple artificial dataset. In practice, real-world datasets are usually much more complicated.
英語のヒント
ラベルづけされた正解の境界ボックスとともに10枚の画像を示そう。これらすべての画像で、バナナの回転、大きさ、位置がまちまちであることがわかる。もちろん、これは単純な人工のデータセットにすぎない。実際には、現実世界のデータセットはふつうずっと複雑である。
imgs = (batch[0][:10].permute(0, 2, 3, 1)) / 255
axes = d2l.show_images(imgs, 2, 5, scale=2)
for ax, label in zip(axes, batch[1][:10]):
    d2l.show_bboxes(ax, [label[0][1:5] * edge_size], colors=['w'])