-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
Hello,
first of all thanks for publishing this awesome project @apchenstu.
I was looking through the code of the facialDetails.py file and have a question regarding this python script.
During creation of the patches you stitch them together using the weights and accumulate the weights in the count array. But why are you dividing each pixel by the weights in this two lines?:
Facial_Details_Synthesis/src/facialDetails.py
Lines 190 to 191 in def9bfe
| mask = count > 0 | |
| img[mask] /= count[mask] |
My guess is that the result is somehow "normalized" but how exactly is it normalized? Such that it is in a range between 0 and 255?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels