Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Fix path to Salinas dataset (closes #17)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshaud committed Dec 3, 2020
1 parent c672648 commit 176e582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ def get_dataset(dataset_name, target_folder="./", datasets=DATASETS_CONFIG):
ignored_labels = [0]

elif dataset_name == "Salinas":
img = open_file(folder + "Salinas.mat")["Salinas_corrected"]
img = open_file(folder + "Salinas_corrected.mat")["salinas_corrected"]

rgb_bands = (43, 21, 11) # AVIRIS sensor

gt = open_file(folder + "Salinas_gt.mat")["Salinas_gt"]
gt = open_file(folder + "Salinas_gt.mat")["salinas_gt"]

label_values = [
"Undefined",
Expand Down

0 comments on commit 176e582

Please sign in to comment.