Skip to content

Commit

Permalink
Update anchor.md
Browse files Browse the repository at this point in the history
锚框的宽度是ws*sqrt(r)
  • Loading branch information
tjztl authored Feb 26, 2024
1 parent e6b18cc commit 21c9467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter_computer-vision/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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$。
Expand Down

0 comments on commit 21c9467

Please sign in to comment.