SamYuen101234 / Masked_Face_Recognition

2020/2021 HKUST CSE FYP Masked Facial Recognition, developer: Sam Yuen, Alex Xie, Tony Cheng
https://github.com/SamYuen101234/maskedfacerecognition
MIT License
118 stars 32 forks source link

How to use the real face dataset to test the train model? #16

Closed small-seven closed 3 years ago

small-seven commented 3 years ago

I found that the images in the train, eval, test set have the size of 128x128. However, the images in the real masked face dataset have diverse sizes. How to use the real masked face dataset to test the model trained with images of size 128x128?

SamYuen101234 commented 3 years ago

use mtcnn to do face detection and alignment, and then use the resize function in torch.transforms to interpolate the images

small-seven commented 3 years ago

Got it. Thank you for your reply.