Skip to content

Commit

Permalink
Update salicon.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkroner authored Nov 28, 2024
1 parent e962c0a commit 241855b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysaliency/external_datasets/salicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ def get_SALICON_test(edition='2015', fixation_type='mouse', location=None):
if location:
name = _get_SALICON_name(edition=edition, fixation_type=fixation_type)
if os.path.exists(os.path.join(location, name)):
stimuli = _load(os.path.join('SALICON', 'stimuli_test.hdf5'))
stimuli = _load(os.path.join(location, 'SALICON', 'stimuli_test.hdf5'))
return stimuli
_, _, stimuli_test, _, _ = get_SALICON(location=location, edition=edition, fixation_type=fixation_type)

return stimuli_test
return stimuli_test

0 comments on commit 241855b

Please sign in to comment.