Traceback (most recent call last):
File "pretraining.py", line 226, in <module>
main()
File "pretraining.py", line 72, in main
trainset = DCCPT_data(root=datadir, train=True, h5=args.h5)
File "/home/pengx/workspace/DCC/pytorch/custom_data.py", line 19, in __init__
data = sio.loadmat(osp.join(root, 'traindata.mat'), mat_dtype=True)
File "/home/pengx/anaconda3/envs/python27/lib/python2.7/site-packages/scipy/io/matlab/mio.py", line 141, in loadmat
MR, file_opened = mat_reader_factory(file_name, appendmat, **kwargs)
File "/home/pengx/anaconda3/envs/python27/lib/python2.7/site-packages/scipy/io/matlab/mio.py", line 65, in mat_reader_factory
mjv, mnv = get_matfile_version(byte_stream)
File "/home/pengx/anaconda3/envs/python27/lib/python2.7/site-packages/scipy/io/matlab/miobase.py", line 241, in get_matfile_version
raise ValueError('Unknown mat file type, version %s, %s' % ret)
ValueError: Unknown mat file type, version 51, 55
I am using python2.7.15, spicy 1.0.0.
And I also try to load it in Matlab R2016a, got:
Unable to read MAT-file /Users/killandy/Code/DCC/data/mnist/traindata.mat. Not a binary MAT-file. Try load -ASCII to read as
text.
I've check the issue#2 which seems not suitable for me.
I have tried to load the MNIST mat files, got
I am using python2.7.15, spicy 1.0.0. And I also try to load it in Matlab R2016a, got:
I've check the issue#2 which seems not suitable for me.
Thanks.