Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about some detals #17

Closed
www516717402 opened this issue May 31, 2021 · 2 comments
Closed

about some detals #17

www516717402 opened this issue May 31, 2021 · 2 comments

Comments

@www516717402
Copy link

Thank you for open this repo. I have some questions as follows:

  1. All model use 800 image size for input in readme.md table ? However 640 images size in evaluate ?

    parser.add_argument('--img-size', nargs='+', type=int, default=[800, 800], help='[train, test] image sizes')

  2. Have you mean filter small face by this code? Anything else?

As we explain before, the Mosaic has to work with the ignoring small faces, otherwise the performance degrades dramatically

def box_candidates(box1, box2, wh_thr=2, ar_thr=20, area_thr=0.1, eps=1e-16): # box1(4,n), box2(4,n)

@derronqi
Copy link
Collaborator

derronqi commented Jun 2, 2021

1、p5 800, p6 832, widerface test 640
2、no, check the train2val.py

@derronqi derronqi closed this as completed Jun 2, 2021
@www516717402
Copy link
Author

@derronqi
Thank you for reply.
About second question, doesn't use any method to filter small face in your code. However use this method to incress 3.% mAP of Easy datset in your paper.

#if (label[2] -label[0]) < 8 or (label[3] - label[1]) < 8:

def wider2face(phase='val', ignore_small=0):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants