Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
medai
software
mednet
Commits
fc492424
Commit
fc492424
authored
1 year ago
by
André Anjos
Committed by
Daniel CARRON
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[engine.saliency.evaluator] Fix evaluation strategy after interpretability module simplifications
parent
6fd482d0
No related branches found
No related tags found
1 merge request
!12
Adds grad-cam support on classifiers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ptbench/engine/saliency/evaluator.py
+1
-1
1 addition, 1 deletion
src/ptbench/engine/saliency/evaluator.py
with
1 addition
and
1 deletion
src/ptbench/engine/saliency/evaluator.py
+
1
−
1
View file @
fc492424
...
@@ -59,7 +59,7 @@ def _reconcile_metrics(
...
@@ -59,7 +59,7 @@ def _reconcile_metrics(
continue
continue
aopc_combined
=
compl_info
[
5
]
aopc_combined
=
compl_info
[
5
]
prop_energy
=
interp_info
[
4
]
prop_energy
=
interp_info
[
2
]
road_weighted_prop_energy
=
max
(
0
,
aopc_combined
)
*
prop_energy
road_weighted_prop_energy
=
max
(
0
,
aopc_combined
)
*
prop_energy
retval
.
append
(
retval
.
append
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment