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

Could you please tell me how to fix this issue #3

Open
JianfengNing opened this issue Dec 10, 2021 · 1 comment
Open

Could you please tell me how to fix this issue #3

JianfengNing opened this issue Dec 10, 2021 · 1 comment

Comments

@JianfengNing
Copy link

Traceback (most recent call last):
File "D:/Desktop/fourier_neural_operator-master/fourier_neural_operator-master/fourier_1d.py", line 160, in
dataloader = MatReader('data/burgers_data_R10.mat')
File "D:\Desktop\fourier_neural_operator-master\fourier_neural_operator-master\utilities3.py", line 31, in init
self._load_file()
File "D:\Desktop\fourier_neural_operator-master\fourier_neural_operator-master\utilities3.py", line 38, in _load_file
self.data = h5py.File(self.file_path)
File "D:\Users\FIVE\miniconda3\envs\pytorch\lib\site-packages\h5py_hl\files.py", line 507, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "D:\Users\FIVE\miniconda3\envs\pytorch\lib\site-packages\h5py_hl\files.py", line 220, 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 106, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to open file (unable to open file: name = 'data/burgers_data_R10.mat', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Process finished with exit code 1

@zongyi-li
Copy link
Collaborator

It says "No such file or directory". Have you downloaded the dataset and put it under 'data/burgers_data_R10.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

2 participants