We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following is the function fixed_image_standardization:
fixed_image_standardization
def fixed_image_standardization(image_tensor): processed_tensor = (image_tensor - 127.5) / 128.0 return processed_tensor
fixed_image_standardization seems to normalize images in the range [0., 255.] into the range [-1.0, 1.0].
[0., 255.]
[-1.0, 1.0]
But the extract_face returns images in the range [0.0, 1.0].
extract_face
[0.0, 1.0]
Could anyone explain this? Is this normalization wrong?
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following is the function
fixed_image_standardization
:fixed_image_standardization
seems to normalize images in the range[0., 255.]
into the range[-1.0, 1.0]
.But the
extract_face
returns images in the range[0.0, 1.0]
.Could anyone explain this? Is this normalization wrong?
Thank you.
The text was updated successfully, but these errors were encountered: