> File "/root/miniconda3/lib/python3.8/site-packages/h5py/_hl/files.py", line 455, in __init__
fid = make_fid(name, mode, userblock_size,
File "/root/miniconda3/lib/python3.8/site-packages/h5py/_hl/files.py", line 199, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 100, in h5py.h5f.open
OSError: Unable to open file (file signature not found)
关于OSError: Unable to open file (file signature not found)问题解决:
无法打开.mat文件(未找到文件签名)
解决办法:使用matlab重新保存一次该mat文件,加上版本号:
>> load('.\AAAA.mat')
>> save('.\AAA.mat', '-v7.3')