COPOD icon indicating copy to clipboard operation
COPOD copied to clipboard

File Missing

Open SongRb opened this issue 5 years ago • 0 comments

When run python benchmark_mat.py I got

Traceback (most recent call last): File "/{python_path}/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file return open(file_like, mode), True FileNotFoundError: [Errno 2] No such file or directory: '/{code_dir}/data/cover.mat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/{code_dir}/results/benchmark_mat.py", line 77, in mat = loadmat(os.path.abspath(os.path.join(os.path.dirname(file), '..') + '/data/' + mat_file)) File "/{python_path}/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 222, in loadmat with _open_file_context(file_name, appendmat) as f: File "/{python_path}/lib/python3.8/contextlib.py", line 113, in enter return next(self.gen) File "/{python_path}/ood/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 17, in _open_file_context f, opened = _open_file(file_like, appendmat, mode) File "/{python_path}/lib/python3.8/site-packages/scipy/io/matlab/mio.py", line 45, in _open_file return open(file_like, mode), True FileNotFoundError: [Errno 2] No such file or directory: '/{code_dir}/data/cover.mat'

SongRb avatar Oct 03 '20 08:10 SongRb