RetinaFace (RetinaFace: Single-stage Dense Face Localisation in the Wild, published in 2019) reimplemented in Tensorflow 2.0, with pretrained weights available !
MIT License
258
stars
21
forks
source link
what do the params `pixel_means` and `pixel_stds` mean? #5
add a dimension to fit he input shape of the neural network
subtract scale and divide by standard deviation of the training dataset. In our case, scale is 0 and std is 1, so this step actually makes no difference. I left it there as a habit
I will try to divide this step into 3 distinct steps so it is clearer in the coming days. Or feel free to make a PR for this :)
and why operating the image tensor as following, in
RetinaFace.detect()
: