невозможно загрузить данные из файла CupriteS1_F224.mat с помощью python
def read_HSI():
X = loadmat('CupriteS1_F224.mat')['cupriteS1_F224']
y = loadmat('groundTruth_Cuprite_nEnd12.mat')['groundTruth_Cuprite_nEnd12']
print(f"X shape:{X.shape}\ny shape: {y.shape}")
return X,y
X, y = read_HSI()
KeyError Traceback (most recent call last)
<ipython-input-7-0ddc59b6be0b> in <module>
4 print(f"X shape:{X.shape}\ny shape: {y.shape}")
5 return X,y
----> 6 X, y = read_HSI()
<ipython-input-7-0ddc59b6be0b> in read_HSI()
1 def read_HSI():
----> 2 X = loadmat('CupriteS1_F224.mat')['cupriteS1_F224']
3 y = loadmat('groundTruth_Cuprite_nEnd12.mat')['groundTruth_Cuprite_nEnd12']
4 print(f"X shape:{X.shape}\ny shape: {y.shape}")
5 return X,y
KeyError: 'cupriteS1_F224'
https://rslab.ut.ac.ir/data https://rslab.ut.ac.ir/documents/81960329/82034936/CupriteS1_F224.mat