diff --git a/chapter_computer-vision/anchor.md b/chapter_computer-vision/anchor.md index 0f05e71a7..e2949e75f 100644 --- a/chapter_computer-vision/anchor.md +++ b/chapter_computer-vision/anchor.md @@ -42,7 +42,7 @@ paddle.set_printoptions(2) # 精简输出精度 假设输入图像的高度为$h$,宽度为$w$。 我们以图像的每个像素为中心生成不同形状的锚框:*缩放比*为$s\in (0, 1]$,*宽高比*为$r > 0$。 -那么[**锚框的宽度和高度分别是$hs\sqrt{r}$和$hs/\sqrt{r}$。**] +那么[**锚框的宽度和高度分别是$ws\sqrt{r}$和$hs/\sqrt{r}$。**] 请注意,当中心位置给定时,已知宽和高的锚框是确定的。 要生成多个不同形状的锚框,让我们设置许多缩放比(scale)取值$s_1,\ldots, s_n$和许多宽高比(aspect ratio)取值$r_1,\ldots, r_m$。