Page 1 of 1
Question about sizes
Posted: Thu Jun 27, 2024 10:19 am
by susanvilla
Hello,
I want train using the Lightweight model
As you know, Lightweight model is 64px input, 64px output
When I extract the face from the video, I wonder if there was a difference between 64px and 128px, 256px.
Hope that someone can answer me.
Thanks in advance!
Re: Question about sizes
Posted: Thu Jun 27, 2024 11:28 am
by torzdf
All extracts are done at 'Head' Centering, but training is normally done at Face
centering. A head centered extracted face is 1.33x larger than a face centered image.
Assuming that you are training at face centered (the default), then you can multiply the model output size by 1.33 to get the optimal extract size, so 64px x 1.33 = 85.33. In this case I would round up to 96px and extract at that.
However, as long as the extracted face patch is larger than your model output size, there is no real benefit to changing the extract size from the default.
Re: Question about sizes
Posted: Sun Jun 30, 2024 6:44 pm
by susanvilla
All extracts are done at 'Head' Centering, but training is normally done at Face
centering. A head centered extracted face is 1.33x larger than a face centered image.
Assuming that you are training at face centered (the default), then you can multiply the model output size by 1.33 to get the optimal extract size, so 64px x 1.33 = 85.33. In this case I would round up to 96px and extract at that.
However, as long as the extracted face patch is larger than your model output size, there is no real benefit to changing the extract size from the default.
Thanks for your answer. I got it.