Skip to content

GradCam giving inconsistent results #1710

Description

@rijobro

Describe the bug
When GradCam is called with class_idx=None, it should use the index of the class inferred by the network. If the network correctly classifies the image, the result should therefore be the same as class_idx=y_true. However, this is being reported as not being the case (link). Seems to be a bug introduced since 0.4.0.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions