-
Notifications
You must be signed in to change notification settings - Fork 65
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
arrayfire imax function #260
Comments
I'm having trouble reproducing this with various backends and image sizes.
This is with the latest wheels. Can you provide more info what system/gpu/release/backend/OS/driver version/python version you're seeing the wrong behavior? Sample data or a minimal reproducible code snippet would be appreciated as well 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
max_val, max_idx = af.imax(img)
running this function seems to have wrong behavior and finds wrong max value for an image with pixels in range [0,1].
When running
max_val, max_idx = af.imax(af.flat(img))
the correct max value is found.The text was updated successfully, but these errors were encountered: