Skip to content

Commit

Permalink
Bugfix: ExpSaliencyMapModel doesn't apply to probabilistic models (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kümmmerer <[email protected]>
  • Loading branch information
matthias-k authored Jan 27, 2024
1 parent 1b2e591 commit 1a6d965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysaliency/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from .saliency_map_models import (SaliencyMapModel, ScanpathSaliencyMapModel, handle_stimulus,
SubjectDependentSaliencyMapModel,
ExpSaliencyMapModel,
DensitySaliencyMapModel,
DisjointUnionMixin,
GaussianSaliencyMapModel,
)
Expand Down Expand Up @@ -578,7 +578,7 @@ def get_saliency_map_model_for_sAUC(self, baseline_model):

def get_saliency_map_model_for_NSS(self):
return SubjectDependentSaliencyMapModel({
s: ExpSaliencyMapModel(self.subject_models[s])
s: DensitySaliencyMapModel(self.subject_models[s])
for s in self.subject_models})


Expand Down

0 comments on commit 1a6d965

Please sign in to comment.