protossw512 / AdaptiveWingLoss

[ICCV 2019] Adaptive Wing Loss for Robust Face Alignment via Heatmap Regression - Official Implementation
Apache License 2.0
395 stars 88 forks source link

what is the 'boundary_channels' output by Coordconv and how to use them? #12

Closed jlinbb closed 4 years ago

jlinbb commented 4 years ago

I have noticed that the FAN returns heatmaps (contains landmarks and boundaries) and the boundary channels. The boundary channels seem to be returned by the Coordconv, should they be something like [[000,111,222,...], [012,012,012,...]] ? while I got some other values after trainning. Should I add some loss for 'boundary channels'?

protossw512 commented 4 years ago

@jlinbb Sorry for the late reply. The boundary channels predict the boundary of the face, so you have to add a loss on it for training. The code for generating ground truth boundary map will be released.