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

[BUG] - ndarray not hashable in AverageStability metric #123

Closed
1 of 5 tasks
adubowski opened this issue Dec 27, 2022 · 1 comment · Fixed by #141
Closed
1 of 5 tasks

[BUG] - ndarray not hashable in AverageStability metric #123

adubowski opened this issue Dec 27, 2022 · 1 comment · Fixed by #141
Assignees

Comments

@adubowski
Copy link

Select the modules to which the bug refers:

  • Attributions Methods
  • Feature Visualization
  • Concepts
  • Metrics
  • Documentation

Describe the bug
While running the Average Stability metric, I receive the unhashable type error regardless of whether I pass the images and labels as tensor or numpy array.

Screenshots
image

Desktop (please complete the following information):

  • Windows 10
  • Python version: 3.8.10
  • Tensorflow version: 2.10.1
  • Packages used version: numpy: 1.23.5

To Reproduce
Run AverageStability metric with np array of images and labels array of the same length.

Expected behavior
I expected to just receive a score just like with Deletion and Insertion metrics, which worked right away.

@AntoninPoche AntoninPoche self-assigned this Sep 25, 2023
@lucashervier
Copy link
Collaborator

Hello, we have made some modifications. Can you try with the newest version and update me if it is still an issue?

@AntoninPoche AntoninPoche linked a pull request Oct 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants