polarisZhao / PFLD-pytorch

PFLD pytorch Implementation
798 stars 197 forks source link

replace retinaface got wrong result #29

Open lucasjinreal opened 4 years ago

lucasjinreal commented 4 years ago

Hi, I simply replaced face detector, and the landmark generate is wrong:

 [ 931.92762136 2339.20769691]
 [ 510.39959192 2297.27704525]
 [  63.24823201 2284.217906  ]
 [ 494.01687384 2427.17235088]
 [ 744.55595613 1609.01716948]
 [ 909.48493481 1217.38911867]
 [ 603.90601158 1840.64791203]
 [-129.06481326 2212.34843731]
 [-133.53530467 1858.27581882]
 [ 815.31933546 1050.98218918]
 [ 681.86050057 1324.7084856 ]
 [ 932.11687803 1675.40012598]
 [ 549.24564958 1647.93741703]
 [ 837.87542582 1662.80833483]
 [ 870.4960227  1671.6031909 ]
 [ 825.64744949 2499.12979603]
 [ 105.63829914 2475.21629333]
 [ 282.52048194 1844.15559769]
 [ 818.49040389  491.52097106]
 [1190.8842802  1193.24022532]]

these coordinates generated were quit large.

and the visualized result is not very right as well:

image

these landmarks were at wrong place.

sana15 commented 4 years ago

Even I got wrong result, could you please tell me what have you done to make it right?

lucasjinreal commented 4 years ago

I have a worked version hosted on manaai.cn @sana15

http://manaai.cn/aicodes_detail3.html?id=62

It's using retinaface as detector (this version retinaface also support TensorRT acceleration)

github-luffy commented 4 years ago

You can try PFLD_68points_Pytorch