RetinaFace icon indicating copy to clipboard operation
RetinaFace copied to clipboard

a litte problem in fpn code

Open foocker opened this issue 6 years ago • 3 comments

in line 45: p3 = F.interpolate(p4, size=[p4.size(2), p4.size(3)]) + p4 should change to: p4 = F.interpolate(p5, size=[p4.size(2), p4.size(3)]) + p4

foocker avatar Aug 18 '19 03:08 foocker

there is no Context Module, so has no DCN operator in your RetinaFace Module. i have a problem: when training, all prediction bbox and landmark was catted in one dim, how to get the scale level of them for loss function's forward. thx.

foocker avatar Aug 18 '19 07:08 foocker

  1. yes, you are right!
  2. I just couldn't understand your second question.

YongtaoGe avatar Aug 18 '19 11:08 YongtaoGe

maybe something that i am not understand well, i mean like the two-stage, all predicted anchors should be get its own level from the FPN after gathered them together, only this we can write the loss function for backward. it seems Retina + FPN have no such worry.

yongtaoge [email protected] 于2019年8月18日周日 下午7:12写道:

  1. yes, you are right!
  2. I just couldn't understand your second question.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yongtaoge/RetinaFace.PyTorch/issues/4?email_source=notifications&email_token=AFHSUMJWUZJAVVURHTSPNF3QFEVBFA5CNFSM4IMRIAW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4Q5VLI#issuecomment-522312365, or mute the thread https://github.com/notifications/unsubscribe-auth/AFHSUMNDIH4R76OUJDYKKDDQFEVBFANCNFSM4IMRIAWQ .

foocker avatar Aug 24 '19 07:08 foocker