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

Bugfix: ExpSaliencyMapModel doesn't apply to probabilistic models #47

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading