Deformable Offset 梯度的推断

对Deformable中的 offset 求梯度不是很理解

Deformable Offset
x ⇒ conv(x) ⇒ x_coords ⇒ ( lt, lb, rt, rb )
⇒ px*py*lt + px*(1-py)lb + (1-px)*py*rt + (1-px)(1-py)*rb
⇒ x

对px的偏导数,求其gradient

( ( p x p x ) p y l t ) p x

这个地方 p x 偏导数可能为0, p x 为1
所以得:
p y l t

然后依次求得各项偏导,并依次向下求偏导数

猜你喜欢

转载自blog.csdn.net/transMaple/article/details/80312791