你好,用havard数据集运行报错,用的python3.7和python3.6都试了,数据集又重新下载上传还是不行
File "/hy-tmp/Spf.py", line 493, in
net = SpfNet(data_num, sim=True)
File "/hy-tmp/Spf.py", line 25, in init
super().init(data_num, sim)
File "/hy-tmp/utils.py", line 103, in init
self.read_original_data(data_num, self.origin_data_path, self.mat_save_path) # HS
File "/hy-tmp/utils.py", line 232, in read_original_data
self.read_harvard(input_path, output_path)
File "/hy-tmp/utils.py", line 281, in read_harvard
hs = sio.loadmat(input_path + dirname)['ref']
File "/usr/local/miniconda3/envs/cfq/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 225, in loadmat
MR, = mat_reader_factory(f, **kwargs)
File "/usr/local/miniconda3/envs/cfq/lib/python3.7/site-packages/scipy/io/matlab/mio.py", line 74, in mat_reader_factory
mjv, mnv = get_matfile_version(byte_stream)
File "/usr/local/miniconda3/envs/cfq/lib/python3.7/site-packages/scipy/io/matlab/miobase.py", line 231, in get_matfile_version
raise ValueError('Unknown mat file type, version %s, %s' % ret)
ValueError: Unknown mat file type, version 115, 112
您好,想问下您代码中的self.origin_data_path = 'd:/remote sensing data/'这个数据可以从哪下载啊