From 176e582e53df92a6b4014b022c7f67034b489889 Mon Sep 17 00:00:00 2001 From: Nicolas Audebert Date: Thu, 3 Dec 2020 11:54:57 +0100 Subject: [PATCH] Fix path to Salinas dataset (closes #17) --- datasets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datasets.py b/datasets.py index da1a8e2..75a08ce 100644 --- a/datasets.py +++ b/datasets.py @@ -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",