lgsc-for-fas-pytorch
lgsc-for-fas-pytorch copied to clipboard
Hello! Can you tell me how to use face_detector?
Hi!
mtcnn face detector is used (https://github.com/timesler/facenet-pytorch)
model is instantiated here https://github.com/Podidiving/lgsc-for-fas-pytorch/blob/337889ad75a28ff6fa52242803064d35ff2a4810/src/datasets/datasets.py#L52
So, in order to create model, you need to define face_detector
dict in train_config.yml, for example:
face_detector:
image_size: <image_size>
margin: <margin>
Have a nice day!