2015_Face_Detection icon indicating copy to clipboard operation
2015_Face_Detection copied to clipboard

FDDB test cannot be repeated

Open chichan01 opened this issue 8 years ago • 10 comments

Hi, I have tried to rerun your work on FDDB, but I am not able to repeat your result. I based on your report to

  1. in lines 49 (scanpic_fast_only12_24_48_newmodel_submean_demo), k=1:16
  2. in lines 52 (scanpic_fast_only12_24_48_newmodel_submean_demo), ttt =ttt*1.18;
  3. increase demo.m pad=20; However, I run out an error: res24 = vl_simplenn(net24, im24) ; when it detects on images, for example '2002/08/06/big/img_2526' I did tried to decrease the thres12 from .2 to .16 in lines 17 in scanpic_fast_only12_24_48_newmodel_submean_demo.m to avoid this error, As a result, the ROC curves is worse than Head and Hunter. Would you like to tell me how to repeat your experiment? Thanks Ho

chichan01 avatar Mar 16 '16 11:03 chichan01

@chichan01 As the original paper said, on fddb we should enlarge bounding box. I enlarge it by mutiple height with 1.4. (It's really important! ) My advice is to y1-(y2-y1)*0.4. (and notice that y<0 is OK)

layumi avatar Mar 16 '16 12:03 layumi

Are you talking about the ellipse factor? I did do it in which the factor is [1.4738,0.9581]; where 1.4738 is the main axis which is height you mentioned.

would you like to tell me what do you mean y1 and y2?

chichan01 avatar Mar 16 '16 12:03 chichan01

@chichan01 I suppose that bounding box can be represented as (x1,y1)left-top point (x2,y2) right-down point To enlarge the bounding box, you may change y1 = y1-(y2-y1)*0.4

layumi avatar Mar 16 '16 12:03 layumi

well, by doing that, the centre of the box will move up as well. Anyway, I will try.

chichan01 avatar Mar 16 '16 12:03 chichan01

@chichan01 I suggest that you may visualise the bounding boxes on image. It can help you to choose a better enlarge factor. I get 0.4 height by using this method.

layumi avatar Mar 16 '16 12:03 layumi

Would you like to confirm that the parameters of the networks you provide (in https://github.com/layumi/2015_Face_Detection/tree/test) are exactly you use to perform FDDB test? net12 = load('12net-newborn/f12net.mat') ; net12_c = load('12net-cc-v1/f12net_c.mat') ; net24 = load('24net-newborn/f24net-cpu.mat') ; net24_c = load('24net-cc-v1-no256/f24netc.mat') ; net48 = load('48net-6hard/f48net-cpu.mat') ; net48_c = load('48net-cc-cifar-v2-submean/f48netc.mat') ;

chichan01 avatar Mar 16 '16 12:03 chichan01

@chichan01 Yes, they're the latest model which I trained.

layumi avatar Mar 16 '16 13:03 layumi

Thanks for your response and I am able to reproduce the result but it seems that the true positive rate of this approach at less than 100 false positive is lower than that of head and hunt a lot. discroc_unpub

chichan01 avatar Mar 17 '16 12:03 chichan01

@chichan01 Yes, this code didn't get the same result. As far as I concerned, some false-costive sample is selected. So the curve didn't perform well at first 50.

layumi avatar Mar 18 '16 14:03 layumi

What does false-costive sample mean? Besides, do you think to use big face dataset to improve your network? for example, you can combine your dataset with http://personal.ie.cuhk.edu.hk/~lz013/projects/CelebA.html (202,599 face images with landmark information)

chichan01 avatar Mar 18 '16 14:03 chichan01