Open LWX92 opened 2 years ago
have you downloaded the pavia hsi dataset yet?
you should download the corresponding HSI dataset from this website and arrange them in a folder like this https://www.ehu.eus/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes#Salinas
I download it ,
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年6月29日(星期三) 下午4:43 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [ZhengPuL/HybridSN] Replace dataset with‘ keyerror’ problem (Issue #1)
have you downloaded the pavia hsi dataset yet?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
to check the keys in your loaded mat file
Thank you very much ,i will try it
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年6月29日(星期三) 下午4:48 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [ZhengPuL/HybridSN] Replace dataset with‘ keyerror’ problem (Issue #1)
you can use this commend
from scipy.io import loadmat x = loadmat('your address for hsi dataset') print(x.keys())
to check the keys in your loaded mat file
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
thank you very much again,i solve this problems ,the key of PU dataset is paviaU,not pavia.
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年6月29日(星期三) 下午4:48 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [ZhengPuL/HybridSN] Replace dataset with‘ keyerror’ problem (Issue #1)
you can use this commend
from scipy.io import loadmat x = loadmat('your address for hsi dataset') print(x.keys())
to check the keys in your loaded mat file
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Thank you very much for sharing,When I want to change the dataset, it appears‘key error’,Can you tell me how to solve this problem?