anson0910/CNN_face_detection

Resize images when creatiing LMDB file

ngksai opened this issue · 2 comments

Hi anson.
when i was creating LMDB files required to train all nets i was mentioned image resize to 256 for width and height and i created LMDB files. is that causes accuracy changes when i will test model. if it is what are the changes i need to do for getting the better result.

Thanks&Regards
N G K Sai

Hi N G K Sai,

I think using a size slightly larger than the model's input size would be best.
For example, I chose 15 pixels for 12-net, since when you add all possible 12-pixel crops to the training set, the crops would still contain most of the face.

Thanks,
Anson

thank you anson