1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.94k stars 1.33k forks source link

What is flip_input argument for? #188

Closed rakadambi closed 4 years ago

rakadambi commented 4 years ago

I have seen some examples where this is set to True and some others where it is set to False. What is it used for?

1adrianb commented 4 years ago

The flip argument is set to True. the network will make 2 passes: one with the normal image and another with its flipped version. The predictions will be then combined. Its slightly more accurate but slower.

rakadambi commented 4 years ago

Thanks, Adrian!