d2l labels the offset of an anchor A (centre (xa,ya), size wa×ha) towards its
ground-truth box B (centre (xb,yb), size wb×hb) as
(σx(xb−xa)/wa,σy(yb−ya)/ha,σwlog(wb/wa),σhlog(hb/ha))
with σx=σy=0.1 and σw=σh=0.2. The anchor has centre
(100,100) and size 50×100; the ground truth has centre (110,90) and size
60×80 (width × height).
The x offset is and the width offset is .