Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Missing #1

Open
SongRb opened this issue Oct 3, 2020 · 0 comments
Open

File Missing #1

SongRb opened this issue Oct 3, 2020 · 0 comments

Comments

@SongRb
Copy link

SongRb commented Oct 3, 2020

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant