Skip to content
New issue

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

Incorrect Normalization Claim in load_image method Docstring #137

Open
abdulaziz-snobra opened this issue Mar 23, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@abdulaziz-snobra
Copy link

The docstring for the load_image function in "mtcnn/utils/images.py" incorrectly states that if normalize=True, the image values will be scaled to the range [0, 1]. However, the function's code does not perform any normalization. Also, there is a previous function that do normalization to range [-1,1].

@abdulaziz-snobra abdulaziz-snobra added the bug Something isn't working label Mar 23, 2025
@ladyshen
Copy link

ladyshen commented Mar 23, 2025 via email

@abdulaziz-snobra abdulaziz-snobra changed the title [Bug] Incorrect Normalization Claim in load_image method Docstring Incorrect Normalization Claim in load_image method Docstring Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants