root@c5f12ee9679f:/app/datasets/svhn# python3 svhn_dataextract_tojson.py -f digitStruct.mat -o digitStruct
Traceback (most recent call last):
File "svhn_dataextract_tojson.py", line 103, in
dsf = DigitStructFile(fin)
File "svhn_dataextract_tojson.py", line 37, in init
self.inf = h5py.File(inf, 'r')
File "/usr/local/lib/python3.5/dist-packages/h5py/_hl/files.py", line 269, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/usr/local/lib/python3.5/dist-packages/h5py/_hl/files.py", line 99, 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 78, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'digitStruct.mat', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
root@c5f12ee9679f:/app/datasets/svhn# python3 svhn_dataextract_tojson.py -f digitStruct.mat -o digitStruct Traceback (most recent call last): File "svhn_dataextract_tojson.py", line 103, in
dsf = DigitStructFile(fin)
File "svhn_dataextract_tojson.py", line 37, in init
self.inf = h5py.File(inf, 'r')
File "/usr/local/lib/python3.5/dist-packages/h5py/_hl/files.py", line 269, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/usr/local/lib/python3.5/dist-packages/h5py/_hl/files.py", line 99, 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 78, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = 'digitStruct.mat', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)